1.0.0 • Published 8 years ago

dereserve v1.0.0

Weekly downloads
31
License
MIT
Repository
github
Last release
8 years ago

dereserve

Provides dereserve command to recast all ES3 reserved words to their safe alternatives.

Build Status NPM version Dependency Status License

Using es3-safe-recast under the hood.

CHANGELOG

See CHANGELOG

USAGE

Run dereserve example.js > build/example.js or cat example.js | dereserve > build/example.js

transforms

ajax('/asdf/1').catch(function(reason) {

}).finally(function() {

});

to

ajax('/asdf/1')["catch"](function(reason) {

})["finally"](function() {

});

INSTALL

via npm

Install locally,

$ npm install --save-dev dereserve

and/or globally.

$ npm install -g dereserve

AUTHOR

LICENSE

Licensed under the MIT license.