🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-15 04:46:46 | PHP 8.1.34
📂
/ (Root)
/
opt
/
alt
/
alt-nodejs10
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
camelcase
📍 /opt/alt/alt-nodejs10/root/usr/lib/node_modules/npm/node_modules.bundled/camelcase
🔄 Refresh
✏️
Editing: readme.md
Read Only
# camelcase [](https://travis-ci.org/sindresorhus/camelcase) > Convert a dash/dot/underscore/space separated string to camelCase: `foo-bar` → `fooBar` ## Install ``` $ npm install --save camelcase ``` ## Usage ```js 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' ``` ## Related - [decamelize](https://github.com/sindresorhus/decamelize) - The inverse of this module - [uppercamelcase](https://github.com/SamVerschueren/uppercamelcase) - Like this module, but to PascalCase instead of camelCase ## License MIT © [Sindre Sorhus](https://sindresorhus.com)
💾 Save Changes
❌ Cancel