es6-upgrade

1.1.8 • Public • Published

es6-update

This is a quick (and dirty) way to clean up most migration issues from es5 code to es6+ code.

WARNING: The dirty... This will not clean up all feasable combinations of useless returns. It may leave hanging chads in the form of not deleting closing parens.

Install

npm i -g es6-upgrade

Usage

es6-upgrade <filename> # or es6up 
es6up --help
 
# To preview output 
es6up -p <filename>

Package Sidebar

Install

npm i es6-upgrade

Weekly Downloads

1

Version

1.1.8

License

ISC

Unpacked Size

12.4 kB

Total Files

22

Last publish

Collaborators

  • tarcher