1.0.1 • Published 5 years ago

to-camel v1.0.1

Weekly downloads
3
License
MIT
Repository
-
Last release
5 years ago

to-camel Build Status

Camel case a string

Install

$ npm install to-camel

Usage

const toCamel = require('to-camel')

toCamel('foo-bar-baz-qux-lorem-ipsum') // 'fooBarBazQuxLoremIpsum'

API

toCamel(str, options)

str - String with delimiters of space, hyphen, underscore or period

options - Object that takes an 'upper' option. When 'upper' is true the first letter in the string will be upper case.

License

MIT

1.0.1

5 years ago

1.0.0

5 years ago