humanize-string
Version:
Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`
49 lines (48 loc) • 937 B
JSON
{
"name": "humanize-string",
"version": "3.0.0",
"description": "Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`",
"license": "MIT",
"repository": "sindresorhus/humanize-string",
"funding": "https://github.com/sponsors/sindresorhus",
"author": {
"name": "Sindre Sorhus",
"email": "sindresorhus@gmail.com",
"url": "https://sindresorhus.com"
},
"type": "module",
"exports": "./index.js",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
},
"scripts": {
"test": "xo && ava && tsd"
},
"files": [
"index.js",
"index.d.ts"
],
"keywords": [
"humanize",
"human",
"pretty",
"capitalize",
"uppercase",
"case",
"camelcase",
"dash",
"hyphen",
"underscore",
"string",
"text",
"convert"
],
"dependencies": {
"decamelize": "^6.0.0"
},
"devDependencies": {
"ava": "^3.15.0",
"tsd": "^0.18.0",
"xo": "^0.45.0"
}
}