@nicholasmole/change-case
v0.1.0
Published
Change string to sentence or title case.
Downloads
11
Maintainers
Readme
Change Case
Change string to sentence or title case.
Usage
Use Cases
SentenceCase
import {sCase} from '@nicholasmole/change-case';
sCase('foo bar');
// outpus: 'Foo bar'
TitleCase
import {tCase} from '@nicholasmole/change-case';
tCase('foo bar');
// outpus: 'Foo Bar'
Tests
npm test
Contributing
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.