52 lines
945 B
JSON
52 lines
945 B
JSON
{
|
|
"name": "to-valid-identifier",
|
|
"version": "1.0.0",
|
|
"description": "Convert a string to a valid JavaScript identifier",
|
|
"license": "MIT",
|
|
"repository": "sindresorhus/to-valid-identifier",
|
|
"funding": "https://github.com/sponsors/sindresorhus",
|
|
"author": {
|
|
"name": "Sindre Sorhus",
|
|
"email": "sindresorhus@gmail.com",
|
|
"url": "https://sindresorhus.com"
|
|
},
|
|
"type": "module",
|
|
"exports": {
|
|
"types": "./index.d.ts",
|
|
"default": "./index.js"
|
|
},
|
|
"sideEffects": false,
|
|
"engines": {
|
|
"node": ">=20"
|
|
},
|
|
"scripts": {
|
|
"test": "xo && ava"
|
|
},
|
|
"files": [
|
|
"index.js",
|
|
"index.d.ts"
|
|
],
|
|
"keywords": [
|
|
"valid",
|
|
"identifier",
|
|
"safe",
|
|
"sanitize",
|
|
"variable",
|
|
"property",
|
|
"ecmascript",
|
|
"javascript",
|
|
"js",
|
|
"reserved",
|
|
"keyword",
|
|
"word",
|
|
"property"
|
|
],
|
|
"dependencies": {
|
|
"@sindresorhus/base62": "^1.0.0",
|
|
"reserved-identifiers": "^1.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"ava": "^6.4.1",
|
|
"xo": "^1.2.3"
|
|
}
|
|
}
|