tiny-case
Tiny Casing utils
Last updated 4 years ago by monastic.panic .
MIT · Original npm · Tarball · package.json
$ npm install tiny-case 
SYNC missed versions from official npm registry.

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']

Current Tags

  • 1.0.3                                ...           latest (3 years ago)

4 Versions

  • 1.0.3                                ...           3 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Total 0
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE