{"_id":"humanize-string@4.0.0","bugs":{"url":"https://github.com/sindresorhus/humanize-string/issues"},"dist":{"shasum":"839c659418beafe07e951fc2b8a9d35eec7fee3d","tarball":"http://registry-npm.ywwl.com/humanize-string/download/humanize-string-4.0.0.tgz","fileCount":5,"integrity":"sha512-oKTbe92h1hinDADnGU7310aeeoaSFIL3UJ13GuM+E2D/wKMFewot4wbbHWeiAW53ymmK6cF89mRrlCkom0umgg==","signatures":[{"sig":"MEYCIQDpZcfYrQQAfI1iRhynxgXGqCeHedfDsASEOSC2JdXFPwIhAN65ltWKdVwvJjRxlaBxFDiLSUfhOdd71sYwPwp1T0j4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFkyaD3+YKD+rP0+Sk5gyGxWZ1/pGqr9yH5XvNiuuLJrAiBy1qozO3jVl05PLsj6XKCVt4pRhAhSMdo9XXmJJpz1BA=="}],"unpackedSize":5645,"size":2684,"noattachment":false,"key":"/humanize-string/-/humanize-string-4.0.0.tgz"},"name":"humanize-string","type":"module","types":"./index.d.ts","author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"engines":{"node":">=22"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"aaa6c17d222144dd2b2155fceae227404987b8eb","license":"MIT","scripts":{"test":"xo && node --test"},"version":"4.0.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"homepage":"https://github.com/sindresorhus/humanize-string#readme","keywords":["humanize","human","pretty","capitalize","uppercase","case","camelcase","dash","hyphen","underscore","string","text","convert"],"repository":{"url":"git+https://github.com/sindresorhus/humanize-string.git","type":"git"},"_npmVersion":"12.2.0","description":"Convert a camelized/dasherized/underscored string into a humanized one: `fooBar-Baz_Faz` → `Foo bar baz faz`","directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"sideEffects":false,"_nodeVersion":"26.11.1","dependencies":{"decamelize":"^7.0.0"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^5.0.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/humanize-string_4.0.0_1791985518163_0.9143886296827393"},"readme":"# humanize-string\n\n> Convert a camelized/dasherized/underscored string into a humanized one\n> Example: `fooBar-Baz_Faz` → `Foo bar baz faz`\n\n## Install\n\n```sh\nnpm install humanize-string\n```\n\n## Usage\n\n```js\nimport humanizeString from 'humanize-string';\n\nhumanizeString('fooBar');\n//=> 'Foo bar'\n\nhumanizeString('foo-bar');\n//=> 'Foo bar'\n\nhumanizeString('foo_bar');\n//=> 'Foo bar'\n```\n\n## API\n\n### humanizeString(input, options?)\n\n#### input\n\nType: `string`\n\nThe string to humanize.\n\n#### options\n\nType: `object`\n\n##### preserveCase\n\nType: `boolean`\\\nDefault: `false`\n\nPreserve the original case instead of lowercasing.\n\n```js\nimport humanizeString from 'humanize-string';\n\nhumanizeString('The-NetApp-Guide-to-Kubernetes');\n//=> 'The net app guide to kubernetes'\n\nhumanizeString('The-NetApp-Guide-to-Kubernetes', {preserveCase: true});\n//=> 'The NetApp Guide to Kubernetes'\n```\n\n## Related\n\n- [camelcase](https://github.com/sindresorhus/camelcase) - Convert a dash/dot/underscore/space separated string to camelcase\n","publish_time":1791985518298,"_cnpm_publish_time":1791985518298,"dist-tags":{"latest":"4.0.0"}}