babel-helpers
Advanced tools
Comparing version 6.0.2 to 6.0.12
{ | ||
"name": "babel-helpers", | ||
"version": "6.0.2", | ||
"description": "", | ||
"version": "6.0.12", | ||
"description": "Collection of helper functions used by Babel transforms.", | ||
"author": "Sebastian McKenzie <sebmck@gmail.com>", | ||
@@ -11,5 +11,5 @@ "homepage": "https://babeljs.io/", | ||
"dependencies": { | ||
"babel-runtime": "^6.0.2", | ||
"babel-template": "^6.0.2" | ||
"babel-runtime": "^6.0.12", | ||
"babel-template": "^6.0.12" | ||
} | ||
} |
# babel-helpers | ||
> Collection of helper functions used by Babel transforms. | ||
## Install | ||
```js | ||
$ npm install babel-helpers | ||
``` | ||
## Usage | ||
```js | ||
import * as helpers from 'babel-helpers'; | ||
import * as t from 'babel-types'; | ||
const typeofHelper = helpers.get('typeof'); | ||
t.isExpressionStatement(typeofHelper); | ||
// true | ||
``` |
23711
22
Updatedbabel-runtime@^6.0.12
Updatedbabel-template@^6.0.12