0.0.3 • Published 7 months ago

string-instrument v0.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

String Instrument

A little library for working with strings.

Installation

npm install --save string-instrument
# yarn add string-instrument
# pnpm add string-instrument

Usage

import {
  camelise,
  dasherise,
  downcaseFirst,
  parameterise,
  titleise,
  underscore
} from 'string-instrument'

console.log(camelise('hello_world')) // helloWorld
console.log(dasherise('hello_world')) // hello-world
console.log(downcaseFirst('Hello World')) // hello World
console.log(parameterise('Hello World')) // hello-world
console.log(titleise('hello world')) // Hello World
console.log(underscore('helloWorld')) // hello_world