restring

a nice stringify for debugging

A slightly nicer JSON.stringify.

var restring = require('restring');
 
> restring(2)
"2 // Number"
 
> restring(function foo() {})
"[function foo]"

(extracted from mistakes)