GitShow/sindresorhus/humanize-string
sindresorhus

humanize-string

Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz

by sindresorhus
Star on GitHubForknpm

JavaScript

112 stars13 forks4 contributorsQuiet · 9mo agoSince 2015v3.1.0MIT

Meet the team

See all 4 on GitHub →
sindresorhus
sindresorhus18 contributions
BendingBender
BendingBender2 contributions
Richienb
Richienb1 contribution
stoeffel
stoeffel1 contribution

Languages

View on GitHub →
JavaScript89.3%
TypeScript10.7%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
85
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent fixes

View closed PRs →
exentrich
Opt-out of lower-casingClosedIssue

Thanks for such great library! Would be great to have ability to keep original letter case. For example this string is converted to boring

exentrich · 9mo ago
jwlms
Lookbehind is unsupported in SafariClosedIssue

Hey this is a very useful package — thanks for publishing it! I did notice however that it doesn't seem to work correctly in Safari. At first glance it seems like the issue is being caused by and its use of lookbehind which isn't supported in Safari. Here's the error I am seeing in case this is something you want to address:

jwlms · 2y ago
ray-holland-es
Doesn't work in React Native appClosedIssue

This doesn't work on React Native apps, it gives you a really cryptic message. It works on android, android simulator, ios simulator, but doesn't work on physical iPhones. ```` Unhandled JS Exception: Invalid regular expression: invalid group specifier name no stack

ray-holland-es · 3y ago
Structured data for AI agents

Repository: sindresorhus/humanize-string. Description: Convert a camelized/dasherized/underscored string into a humanized one: fooBar-Baz_Faz → Foo bar baz faz Stars: 112, Forks: 13. Primary language: JavaScript. Languages: JavaScript (89.3%), TypeScript (10.7%). License: MIT. Latest release: v3.1.0 (9mo ago). Open PRs: 0, open issues: 0. Last activity: 9mo ago. Community health: 85%. Top contributors: sindresorhus, BendingBender, Richienb, stoeffel.

·@ofershap

Replace github.com with gitshow.dev