JSON.stringify
var blat = require('blat')
blat({foo: 'bar'})
// => '{\n "foo": "bar"\n}'
Yes, I hate the JSON.stringify api this much.
Serializes and pretty-prints a JavaScript object to a string
console.log
s a blat()
d view of the object and returns the original object.
$ npm install blat
From package root:
$ npm install
$ npm test
- jden jason@denizac.org
MIT. (c) 2013 jden jason@denizac.org. See LICENSE.md