Kargi-Sitesi/node_modules/titleize
2024-11-03 21:30:09 -05:00
..
index.d.ts Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
index.js Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
license Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
package.json Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00
readme.md Deployed the page to Github Pages. 2024-11-03 21:30:09 -05:00

titleize

Capitalize every word in a string: unicorn cakeUnicorn Cake

Install

$ npm install titleize

Usage

import titleize from 'titleize';

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

titleize('foo-bar');
//=> 'Foo-Bar'
  • camelcase - Convert a dash/dot/underscore/space separated string to camelcase