Wondering what’s next for npm?Check out our public roadmap! »

estore-preprocessor

3.3.0 • Public • Published

preprocessor

PostCSS preprocessor

Install

$ npm install --save estore-preprocessor

Usage

const postcss = require('postcss');
const preprocessor = require('estore-preprocessor');
 
postcss()
    .use(preprocessor())
    .process(':root {--color: #fff;}body {background-color: var(--color);}')
    .then(res => {
        console.log(res.css);
        //=> body {background-color: #fff;}
    });

API

preprocessor(options)

options

Type: object

Object of options to pass to the preprocessor.

License

MIT © Viskan Distanshandel System AB

Keywords

none

Install

npm i estore-preprocessor

DownloadsWeekly Downloads

17

Version

3.3.0

License

MIT

Last publish

Collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar