UNPKG

is-valid-var-name

Version:

Determines whether a string is a valid javascript variable name. ES2015 and ES5 compatibility. Strict mode evaluation by default.

44 lines (43 loc) 965 B
{ "name": "is-valid-var-name", "version": "1.0.2", "description": "Determines whether a string is a valid javascript variable name. ES2015 and ES5 compatibility. Strict mode evaluation by default.", "main": "index.js", "dependencies": { "unicode-categories": "^0.9.1" }, "bugs": { "url": "https://github.com/SteveWestbrook/is-valid-var-name/issues" }, "devDependencies": { "mocha": "^3.2.0", "plato": "^1.7.0" }, "files": [ "lib/", "index.js", "LICENSE", "README.md" ], "homepage": "https://github.com/SteveWestbrook/is-valid-var-name", "repository": { "type": "git", "url": "https://github.com/SteveWestbrook/is-valid-var-name.git" }, "scripts": { "test": "mocha" }, "keywords": [ "var", "name", "identifier", "variable", "check", "valid", "validation", "string", "unicode" ], "author": "Steven Westbrook <StevenAWestbrook@gmail.com>", "license": "MIT" }