README
DEPRECATED
Please use tings/toTitleCase instead.
Title Case
A Lodash addon to convert a string to title case.
titleCase('this is an example of title case')
// > This is an Example of Title Case
Install
yarn add @will-stone/title-case
# or
npm i @will-stone/title-case
Development
Install dependencies:
yarn
Run test suite:
yarn test
# or
yarn test --watch
Publishing
yarn release
NB: this calls the
version
script first, which builds the project. If this is not done, the version in thepkg
(build) directory will not have the chosen version number and will fail due to trying to publish the same version.