@reflect/titleize

2.0.3 • Public • Published

titleize Build Status

Capitalize every word in a string: unicorn cakeUnicorn Cake

Install

$ npm install --save titleize

Usage

const titleize = require('@reflect/titleize');

titleize('foo bar');
//=> 'Foo Bar'

titleize('foo-bar');
//=> 'Foo Bar'

License

MIT © Sindre Sorhus, Brad Heller

Package Sidebar

Install

npm i @reflect/titleize

Weekly Downloads

1

Version

2.0.3

License

MIT

Last publish

Collaborators

  • vine77
  • ogazitt
  • sigler
  • impl
  • sprokuski
  • kyle-reflect
  • woodburndesigns
  • bilmeswe
  • aley
  • bradhe