Socket
Book a DemoInstallSign in
Socket

babel-preset-futurify

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-preset-futurify

a simple version of the future

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

babel-preset-futurify

A simple version of the future.

npm [![standard][standard-image]][standard-url] [![conduct][conduct]][conduct-url]

https://travis-ci.org/sethvincent/babel-preset-futurify [standard-image]: https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square [standard-url]: http://npm.im/standard [conduct]: https://img.shields.io/badge/code%20of%20conduct-contributor%20covenant-green.svg?style=flat-square [conduct-url]: CONDUCT.md

About

This preset is a subset of babel plugins focused on the most essential parts of es2015.

Plugins included

The future of the future

This preset will be modified as browser support changes and new versions of ecmascript are released.

Don't depend on this in npm packages

I recommend not using this preset, or using babel at all, for packages that are released on npm. If the only thing keeping your code from running in older browsers or in older versions of node is es2015+ syntax, refactor to remove that syntax. This is easier for everybody.

I've created this specifically for use in applications where the syntax improvements are helpful for browser code.

Install

npm install --save-dev babel-preset-futurify

Usage

Add the following line to your .babelrc file:

{
  "presets": ["babel-preset-futurify"]
}

Conduct

It is important that this project contributes to a friendly, safe, and welcoming environment for all. Read this project's code of conduct

License

ISC

Keywords

babel

FAQs

Package last updated on 03 Nov 2016

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