toSrc
Turns every JavaScript object or primitive into valid source code.
simple-token
Create a string representation of an object or primative
uneval.js
Convert an object to its source code (With references and PROXIES too!)
tosource.js
A polyfill for Mozilla's Object.toSource() method.