is-keyword-js
v1.0.3
Published
A simple way to check if a string is a keyword or reserved keyword in JavaScript
Downloads
150,462
Readme
is-keyword-js
Check if a given string is a Javascript keyword or reserved for future keywords.
Install
$ npm install --save is-keyword-js
Usage
var isKeyword = require('is-keyword-js');
isKeyword('this'); // returns true
LICENSE
MIT © Cristian Trifan