Compile Stylus stylesheets with James.js
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
README.md
index.js
package.json

README.md

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.