🚀 Socket Launch Week 🚀 Day 5: Introducing Socket Fix.Learn More
Socket
Sign inDemoInstall
Socket

es6-upgrade

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

es6-upgrade

Attempts to cleanly upgrade from es5 syntax to es6

1.1.8
latest
Source
npm
Version published
Weekly downloads
2
-33.33%
Maintainers
1
Weekly downloads
 
Created
Source

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>

Keywords

es5

FAQs

Package last updated on 07 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts