3.0.0 • Published 4 years ago

humanize-string v3.0.0

Weekly downloads
194,586
License
MIT
Repository
github
Last release
4 years ago

humanize-string

Convert a camelized/dasherized/underscored string into a humanized one Example: fooBar-Baz_FazFoo bar baz faz

Install

npm install humanize-string

Usage

import humanizeString from 'humanize-string';

humanizeString('fooBar');
//=> 'Foo bar'

humanizeString('foo-bar');
//=> 'Foo bar'

humanizeString('foo_bar');
//=> 'Foo bar'

Related

  • camelcase - Convert a dash/dot/underscore/space separated string to camelcase
cinepolifyyeoman-ui@njmaeff/node-gen-cligenerator-nextjs-typescript-antd@everything-registry/sub-chunk-1878wolkenkit-applicationwheelmap-reacttext-runner-corejoltkitkoa-better-error-handlerhuman-object-diffhumanize-keyshumanized-object-diffhexo-generator-anythinghadshangryinngest-setup-redwoodjsluma-frameworkmake-it-easymakaira-storefront-cli@whodunit/pi@worldofgeese/core@types/humanize-string@twyr/announce@therebel/docz-core@vivaxy/github-demo-scripts@vivaxy/github-pages-scripts@yeldirium/kaputtamex-global-codesairplaneagneta-portalaccessibility.cloudaccessibility-cloud-jsaccessibility-cloud-widgetacme-aem-toolaynenawesome-pretty@cloudquery/plugin-config-ui-lib433bf@agneta/portal@akromio/inquirerwolkenkit-command-toolsensurethatthermal-printer-libtitano@astrocoders/docz-core@based/storybook@bill-doc/builder@bill-doc/doc-builder@bill-doc/doc-utils@breejs/apiyo-slimyo@redwoodjs/api@redwoodjs/cli@pankod/refine@papyrum/cli@papyrum/core@panflux/platform@panflux/platform-sdkmongoose-validation-error-transformmop-clinx-code-modsohcrashoe-cloud-cliscaffold-kit-cliprimo-gopher-uinode-friendly-responsenextgredwood-api-stafflinkradmin-freerb-core-modulesindredashsindresorhus.jssmoothsmooth-coregopher-uicinepolify-cliclienezztcreate-captain-appbuntstiftdocm-coredocm-utils@spotify/backstage-plugin-insights@teambit/compositions.model.composition-id@teambit/model.composition-iddocs-ts-mkdocsdocz-coredocz-utilsember-typefaceember-fontsource@axe312/docz-core@smelt/core@instantcommerce/cli@instantcommerce/sdk-preview@flr42/antd-components@frontify/frontify-api@frend-digital/next-dev-tools@elv1n/docz-core@evernest/icon
3.0.0

4 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.2

8 years ago

1.0.1

11 years ago

1.0.0

11 years ago