Sha256: 98725ebdb58da9aab55984357601102e6272a4da140076a7fc0141a60ce4c04d

Contents?: true

Size: 406 Bytes

Versions: 6

Compression:

Stored size: 406 Bytes

Contents

# babel-register

The require hook will bind itself to node's require and automatically compile files on the fly.

## Install

```
$ npm install babel-register
```

## Usage

```js
require("babel-register");
```

All subsequent files required by node with the extensions `.es6`, `.es`, `.jsx` and `.js` will be transformed by Babel.

See [documentation](http://babeljs.io/docs/usage/require/) for details.

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
babel-schmooze-sprockets-0.1.3 node_modules/babel-register/README.md
babel-schmooze-sprockets-0.1.2 node_modules/babel-register/README.md
babel-schmooze-sprockets-0.1.1 node_modules/babel-register/README.md
babel-schmooze-sprockets-0.1.0 node_modules/babel-register/README.md
babel-schmooze-sprockets-0.1.0.alpha.3 node_modules/babel-register/README.md
babel-schmooze-sprockets-0.1.0.alpha.2 node_modules/babel-register/README.md