0.0.3 • Published 5 years ago
reserved-tokens v0.0.3
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
npm install reserved-wordsconst valid = !isReserved(word);
const validName = getValidVarName(word);This lib uses the latest word map from v8 scanner