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