@adso-ts/sentence-case
v1.0.4
Published
Transforms any string into a `Sentence case` format
Downloads
14
Maintainers
Readme
Sentence case
Transforms a string
- 'myString'
- 'MyString'
- 'my_string'
- 'MY STRING'
- 'my string'
- 'My string'
- 'My String'
Into a Sentence case (capitalise first letter)
Import
import { sentenceCase } from '@adso-ts/sentence-case';
How to use
const sentenceCased = sentenceCase(string); // result: My string