0.1.0 • Published 6 years ago

@nicholasmole/change-case v0.1.0

Weekly downloads
9
License
ISC
Repository
-
Last release
6 years ago

Change Case

Change string to sentence or title case.

Usage

Use Cases

Sentence Case

Title Case

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.