1.0.9 • Published 3 years ago

@dev-toolbox/css-json v1.0.9

Weekly downloads
-
License
ISC
Repository
github
Last release
3 years ago

Install

npm i @dev-toolbox/css-json

Import

import { CssJson } from '@dev-toolbox/css-json';

Usage

const cssString = '.test{color:red;}';

const options = {}; const parser = new CssJson(CssString,options);

const output = parser.parse();

console.log('output', output);

Available Options

const defaultOptions: ICssJsonOptions = { resultType: CssJsonResultType.ADVANCED, seperateMultiSelectorStyles: false, //will omit this if resultType===CssJsonResultType.ADVANCED, keyValueAttributes: false, //will omit this if resultType===CssJsonResultType.ADVANCED, };

1.0.9

3 years ago

1.0.8

3 years ago

1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago