1.0.2 • Published 7 years ago
is-java-keyword v1.0.2
is-java-keyword
Determine whether a string is a Java keyword.
Install
Use
// load the module
var isKeyword = require('index.js');
// check a keyword
isKeyword("while"); // true
Test
To execute tests, first install the project dependencies:
$ npm install
Then, run the tests
$ npm test