duosass

1.2.1 • Public • Published

duo-sass Build Status

Sass plugin for Duo

Install

$ npm install duosass

Usage

From the CLI:

$ duo --use duosass input.scss output.css

Using the API:

var Duo = require('duo');
var sass = require('duosass');
 
var duo = Duo(__dirname)
  .entry('index.scss')
  .use(sass());
 
duo.run(function (err, file) {
  if (err) {
    throw err;
  }
 
  console.log(file);
  //=> body div a { color: red }
});

Options

See the node-sass options.

License

MIT © duojs

Readme

Keywords

Package Sidebar

Install

npm i duosass

Weekly Downloads

3

Version

1.2.1

License

MIT

Last publish

Collaborators

  • stephenway
  • kevva