style-attr
Very simple parsing and stringifying of style attributes.
License
MIT
Source: /README.md, line 0
Very simple parsing and stringifying of style attributes.
MIT
Very simple parsing and stringifying of style attributes.
parse
Convert a style attribute string to an object.
stringify
Convert an object into an attribute string
normalize
Normalize an attribute string (eg. collapse duplicates)
Can be run with npm run test
tests for style-attr→
parse
tests for style-attr→
stringify
tests for style-attr→
normalize