1. dereserve
provides `dereserve` command to recast all ES3 reserved words to their safe alternatives
dereserve
Package: dereserve
Created by: twada
Last modified: Wed, 15 Jun 2022 01:29:43 GMT
Version: 1.0.0
License: MIT
Downloads: 38
Repository: https://github.com/twada/dereserve

Install

npm install dereserve
yarn add dereserve

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.

RELATED POST

10 Must-Know Windows Shortcuts That Will Save You Time

10 Must-Know Windows Shortcuts That Will Save You Time

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Arrays vs Linked Lists: Which is Better for Memory Management in Data Structures?

Navigating AWS Networking: Essential Hacks for Smooth Operation

Navigating AWS Networking: Essential Hacks for Smooth Operation

Achieving Stunning Visuals with Unity's Global Illumination

Achieving Stunning Visuals with Unity's Global Illumination

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code

Nim's Hidden Gems: Lesser-known Features for Writing Efficient Code