tiny-case
v1.0.3
Published
Tiny Casing utils
Downloads
15,067,477
Readme
tiny-case
Extremely minimal string casing utilities that mimic most of lodash's casing behavior, e.g. numbers are considered seperate "words".
npm i tiny-case
Usage
import {
camelCase,
pascalCase,
snakeCase,
kebabCase,
titleCase,
sentenceCase,
words,
upperFirst,
} from 'tiny-case'
words('hi-there john') // ['hi', 'there', 'john']
words(' 1ApplePlease ') // ['1', 'Apple', 'Please']