james-cson
v0.1.2
Published
James plugin to compile CSON to JSON.
Downloads
4
Readme
Synopsis
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.