startcase

1.0.0 • Public • Published

startcase

Build Status npm version License

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 git@tlvince.com (https://tlvince.com)

License

Released under the MIT license.

/startcase/

    Package Sidebar

    Install

    npm i startcase

    Weekly Downloads

    1

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • tlvince