0.1.0 • Published 9 years ago

camelify v0.1.0

Weekly downloads
1,502
License
MIT
Repository
github
Last release
9 years ago

camelify

Turns hyphen-separated object keys or strings into camel-cased versions.

Examples

npm install camelify

camelify('one-two');
// => 'oneTwo'

camelify({
  'first-name': 'John',
  'last-name': 'Smith'
});
// => { firstName: 'John', 'lastName': 'Smith' }

Tests

npm test

0.1.0

9 years ago

0.0.2

10 years ago

0.0.1

10 years ago