An open API service indexing awesome lists of open source software.

https://github.com/crissdev/is-keyword-js

A simple way to check if a string is a keyword or reserved keyword in JavaScript
https://github.com/crissdev/is-keyword-js

Last synced: 11 months ago
JSON representation

A simple way to check if a string is a keyword or reserved keyword in JavaScript

Awesome Lists containing this project

README

          

# is-keyword-js

[![Build Status](https://travis-ci.org/crissdev/is-keyword-js.png?branch=master)](https://travis-ci.org/crissdev/is-keyword-js)

> Check if a given string is a Javascript keyword or reserved for future keywords.

## Install

```sh
$ npm install --save is-keyword-js
```

## Usage

```js
var isKeyword = require('is-keyword-js');
isKeyword('this'); // returns true
```

## LICENSE

MIT © [Cristian Trifan](http://crissdev.com)