Skip to content

ttys026/reserved-tokens

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

reserved-tokens

Installation

npm install reserved-tokens

API

import { isReserved, getValidVarName } from 'reserved-tokens';
const valid = !isReserved(word);
const validName = getValidVarName(word);

This lib uses the latest word map from v8 scanner

About

reserved-tokens in javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published