1.0.0 • Published 9 years ago
dereserve v1.0.0
dereserve
Provides dereserve command to recast all ES3 reserved words to their safe alternatives.
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 dereserveand/or globally.
$ npm install -g dereserveAUTHOR
LICENSE
Licensed under the MIT license.