james-stylus

0.1.4 • Public • Published

Synopsis

Stylus to CSS transformer for James.js.

var james  = require('james'),
    stylus = require('james-stylus');
 
james.task('default', function() {
 
  james.files('src/**/*.styl').forEach(function(file) {
    james.read(file)
      .transform(stylus({filename: file}))
      .write(process.stdout);
  });
});

API

stylus(options): Return a new Stylus to CSS transformer. Available options are listed in Stylus documentation.

/james-stylus/

    Package Sidebar

    Install

    npm i james-stylus

    Weekly Downloads

    7

    Version

    0.1.4

    License

    none

    Last publish

    Collaborators

    • pyykkis
    • japsu
    • eetu