Skip to content

Commit

Permalink
Few use node <4 in 2017
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-zorn committed Oct 3, 2017
1 parent e3bef40 commit 3e246fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions README.md
Expand Up @@ -23,15 +23,13 @@ The path should either be absolute or relative to the compiled file.

From here you have two options.

##### Node >= 2.2.0

Node 2.2.0 added the `-r` command line argument, so if you're using 2.2.0 or greater, you can use the following to run your code.
##### CLI Usage

```bash
node -r source-map-support/register compiled.js
```

##### Node < 2.2.0
##### Programmatic Usage

Put the following line at the top of the compiled file.

Expand Down

0 comments on commit 3e246fe

Please sign in to comment.