Skip to content

gavboulton/camelify

This branch is 13 commits behind lennym/camelify:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
Leonard Martin
Sep 3, 2014
5dfb07c · Sep 3, 2014

History

2 Commits
Sep 3, 2014
Sep 3, 2014
Sep 3, 2014
Sep 3, 2014
Sep 3, 2014
Sep 3, 2014

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published