james-cson

James plugin to compile CSON to JSON.

npm install james-cson
7 downloads in the last month

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.

npm loves you