Package Exports
- tiny-case
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (tiny-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
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']