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

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin