uneval approximation for node.js/v8. convert objects to code. don't use if you don't know all the things that could go wrong with this.
npm install unevalApproximation of uneval for node.js/v8. Convert objects into code. Do not use this
unless you know all the things that could possibly go wrong with this. You have been
warned -- use at your own risk.
Install with:
``sh`
npm i uneval --save
Use with
`javascript
var uneval = require('uneval')
uneval({ a: 1 }) == '({a:1})'
``
Was gonna go with public domain but it does comes with some dangerous downsides, so I'm
converting this to CC instead as of version v0.1.1.
alt="Creative Commons License" style="border-width:0"
src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" />
This work is licensed
under a href="http://creativecommons.org/licenses/by-sa/3.0/deed.en_US">Creative Commons
Attribution-ShareAlike 3.0 Unported License.
* Lots more tests!
* Cross-node-version support.