reserved-tokens
v0.0.3
Published
determine if a token is reserved in JavaScript
Downloads
7
Maintainers
Readme
reserved-tokens
Installation
npm install reserved-wordsAPI
const valid = !isReserved(word);
const validName = getValidVarName(word);This lib uses the latest word map from v8 scanner
