Skip to content

`uneval` approximation 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.

Notifications You must be signed in to change notification settings

chakrit/node-uneval

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

node-uneval

Approximation 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:

npm i uneval --save

Use with

var uneval = require('uneval')

uneval({ a: 1 }) == '({a:1})'

LICENSE

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.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

TODO

  • Lots more tests!
  • Cross-node-version support.

About

`uneval` approximation 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.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •