startcase
v1.0.0
Published
Convert a string to start case
Downloads
17
Readme
startcase
Convert a string to start case
Like lodash.startCase, but:
- Preserves diacritical marks (does not deburr)
- Does not treat
/
as a word delimiter - Preserves Roman numerals
Installation
npm install --save startcase
Usage
var startCase = require('startcase')
startCase('hello henry IV/world')
// => 'Hello Henry IV/World'
Author
© 2016 Tom Vincent [email protected] (https://tlvince.com)
License
Released under the MIT license.