Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jbach committed Nov 4, 2015
1 parent 3994bf5 commit bf2b328
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# babel-preset-es2015-node4

> Babel preset to make node@4 ES2015 compatible.
## Install

```sh
$ npm install --save-dev babel-preset-es2015-node4
```

## Usage

### Via `.babelrc` (Recommended)

**.babelrc**

```json
{
"presets": ["es2015-node4"]
}
```

### Via CLI

```sh
$ babel script.js --preset es2015-node4
```

### Via Node API

```javascript
require("babel-core").transform("code", {
presets: ["es2015-node4"]
});
```

0 comments on commit bf2b328

Please sign in to comment.