Convert a camelized/dasherized/underscored string into a humanized one Example:
fooBar-Baz_Faz
→Foo bar baz faz
$ npm install humanize-string
const humanizeString = require('humanize-string');
humanizeString('fooBar');
//=> 'Foo bar'
humanizeString('foo-bar');
//=> 'Foo bar'
humanizeString('foo_bar');
//=> 'Foo bar'
- camelcase - Convert a dash/dot/underscore/space separated string to camelcase
MIT © Sindre Sorhus