Skip to content

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

License

Notifications You must be signed in to change notification settings

crissdev/is-keyword-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is-keyword-js

Build Status

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

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published