CSON to JSON transformer for James.js
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
test
.gitignore
.jshintrc
.travis.yml
LICENSE
README.md
index.js
package.json

README.md

Synopsis

Build Status

CSON to JSON transformer for James.js.

var james = require('james'),
    cson  = require('james-cson');

james.task('default', function() {
  james.files('src/**/*.cson').forEach(function(file) {
    james.read(file)
      .transform(cson)
      .write(process.stdout);
  });
});

API

cson(options): Return a new CSON to JSON transformer.