Using CSON with nconf (nodejs)

nconf for nodejs offers hierarchical configuration with files, environment variables, command-line arguments, and atomic object merging. Out of the box, nconf supports JSON and ini file formats. Getting nconf to support custom formats, e.g. CSON is straightforward: provide a format handler as an option to nconf.

nconf.file file : "somefile.cson", format : { stringify : cson.stringifySync, parse : cson.parseSync }

See gist for a longer example.

REST Command Line Tool

https://github.com/venkatperi/node-restit

restit is a command line tool (CLI) for talking to RESTful APIs. It’s intended to reduce some of the repetition and verbosity that comes with using general purpose CLI tools such as curl with RESTful APIs.