varname
Version:
Convert strings between different variable naming formats
51 lines (50 loc) • 1.38 kB
JSON
{
"name": "varname",
"version": "7.1.0",
"description": "Convert strings between different variable naming formats",
"keywords": [
"camelcase",
"camelback",
"naming",
"string",
"variable"
],
"author": "Rowan Manning (https://rowanmanning.com/)",
"repository": {
"type": "git",
"url": "https://github.com/rowanmanning/varname.git"
},
"homepage": "https://github.com/rowanmanning/varname",
"bugs": "https://github.com/rowanmanning/varname/issues",
"license": "MIT",
"engines": {
"node": "20.x || 22.x || 24.x"
},
"scripts": {
"verify": "npm run verify:biome && npm run verify:types",
"verify:biome": "biome check",
"build": "npm run build:types",
"build:types": "tsc --noEmit false --emitDeclarationOnly --project ./jsconfig.json",
"verify:types": "tsc --noEmit --project ./jsconfig.json",
"test:unit": "cd test/unit && node --test",
"test:coverage": "nyc npm run test:unit",
"test": "npm run test:coverage",
"prepare": "husky || true"
},
"devDependencies": {
"@commitlint/cli": "^19.3.0",
"@commitlint/config-conventional": "^19.2.2",
"@rowanmanning/biome-config": "^2.0.0",
"husky": "^9.0.7",
"nyc": "^17.0.0",
"typescript": "^5.5.2"
},
"main": "lib/varname.js",
"nyc": {
"eager": true,
"reporter": [
"html",
"text"
]
}
}