restring

a nice stringify for debugging

npm install restring
1 downloads in the last week
6 downloads in the last month

restring

A slightly nicer JSON.stringify.

var restring = require('restring');

> restring(2)
"2 // Number"

> restring(function foo() {})
"[function foo]"

(extracted from mistakes)

npm loves you