is-keyword
Version:
Checks if the given token is an ES keyword.
33 lines (21 loc) • 487 B
Markdown
# is-keyword [](https://travis-ci.org/hemanth/is-keyword)
> Checks if the given token is an ES keyword.
## Install
```sh
$ npm install --save is-keyword
```
```sh
$ bower install --save is-keyword
```
```sh
$ component install hemanth/is-keyword
```
## Usage
##### Node.js
```js
var isKeyword = require('is-keyword');
isKeyword('let');
//=> true
```
## License
MIT © [Hemanth.HM](http://h3manth.com)