style-to-object

v1.0.8
Parse CSS inline style to JavaScript object.
style-to-object inline style parser css object pojo

build

run-s build:*

build:cjs

tsc

build:esm

awk '!/sourceMappingURL/' cjs/index.d.ts > esm/index.d.mts

build:umd

rollup --config --failAfterWarnings

clean

rm -rf cjs coverage dist

lint

eslint .

lint:fix

npm run lint -- --fix

lint:tsc

tsc --noEmit

prepare

husky

prepublishOnly

run-s lint lint:tsc test clean build

test

jest

test:ci

CI=true jest --ci --colors --coverage

test:esm

npm run build:cjs && node --test __tests__

test:watch

npm run test -- --watch
npm i style-to-object

Metadata

  • MIT
  • Whatever
  • Mark
  • released 9/11/2024

Downloads

Maintainers