This repository has been archived on 2021-05-23. You can view files and clone it, but cannot push or open issues or pull requests.
simpledash/bulma/node_modules/camelcase
Elara bb2c9351d6 Remove unnecessary resources, add bulma, and add AdvMakefile 2021-03-29 15:02:41 -07:00
..
index.js Remove unnecessary resources, add bulma, and add AdvMakefile 2021-03-29 15:02:41 -07:00
license Remove unnecessary resources, add bulma, and add AdvMakefile 2021-03-29 15:02:41 -07:00
package.json Remove unnecessary resources, add bulma, and add AdvMakefile 2021-03-29 15:02:41 -07:00
readme.md Remove unnecessary resources, add bulma, and add AdvMakefile 2021-03-29 15:02:41 -07:00

readme.md

camelcase Build Status

Convert a dash/dot/underscore/space separated string to camelCase: foo-barfooBar

Install

$ npm install --save camelcase

Usage

const camelCase = require('camelcase');

camelCase('foo-bar');
//=> 'fooBar'

camelCase('foo_bar');
//=> 'fooBar'

camelCase('Foo-Bar');
//=> 'fooBar'

camelCase('--foo.bar');
//=> 'fooBar'

camelCase('__foo__bar__');
//=> 'fooBar'

camelCase('foo bar');
//=> 'fooBar'

console.log(process.argv[3]);
//=> '--foo-bar'
camelCase(process.argv[3]);
//=> 'fooBar'

camelCase('foo', 'bar');
//=> 'fooBar'

camelCase('__foo__', '--bar');
//=> 'fooBar'

License

MIT © Sindre Sorhus