@putout/operator-css
🐊Putout operator adds ability to work with css
Last updated 2 months ago by coderaiser .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install @putout/operator-css 
SYNC missed versions from official npm registry.

@putout/operator-css NPM version

🐊Putout operator adds ability to lint css.

Install

npm i putout @putout/operator-css

API

convertJsToCss

import {operator} from 'putout';

const {convertJsToCss} = operator;

convertJsToCss(`
    [
        rule(selector([
            typeSelector('button'),
        ]), [
            declaration('color', string('red')),
        ]),
    ];
`);

convertCssToJs

import {operator} from 'putout';

const {convertCssToJs} = operator;

convertCssToJs(`
    button {
        color: "red";
    }
`);

License

MIT

Current Tags

  • 1.0.1                                ...           latest (2 months ago)

2 Versions

  • 1.0.1                                ...           2 months ago
  • 1.0.0                                ...           2 months ago
Maintainers (1)
Downloads
Total 5
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 3
Dependencies (1)
Dev Dependencies (9)

© 2010 - cnpmjs.org x YWFE | Home | YWFE