Socket
Socket
Sign inDemoInstall

babel-preset-latest-node4

Package Overview
Dependencies
55
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    babel-preset-latest-node4

Babel preset including es2015+ for Node.js 4


Version published
Weekly downloads
7
increased by600%
Maintainers
1
Install size
4.66 MB
Created
Weekly downloads
 

Readme

Source

babel-preset-latest-node4 (DEPRECATED)

Dependency Status

Babel preset including es2015, es2016, es2017 for Node.js 4.

DEPRECATED: Use babel-preset-env!

Install

$ npm install --save-dev babel-preset-latest-node4

Usage

.babelrc

{
  "presets": ["latest-node4"]
}

Via CLI

$ babel script.js --presets latest-node4

Via Node API

require('babel-core').transform('code', {
  presets: ['latest-node4']
});

License

MIT © Timofey Dergachev

FAQs

Last updated on 03 Jan 2017

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc