Package Exports
- tn-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 (tn-case) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Bundle Size - 391 bytes gzipped
Usage
import { kebabCase, snakeCase, dotCase, camelCase, pascalCase, spaceCase, customCase } from 'tn-case'
const string = 'lorem ipsum'
kebabCase(string) // lorem-ipsum
snakeCase(string) // lorem_ipsum
dotCase(string) // lorem.ipsum
camelCase(string) // loremIpsum
pascalCase(string) // LoremIpsum
spaceCase(string) // lorem ipsum
customCase(string, '+') // lorem+ipsum