How to use the camelcase.apply function in camelcase

To help you get started, we’ve selected a few camelcase examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github SamVerschueren / uppercamelcase / index.js View on Github external
module.exports = function () {
	const cased = camelCase.apply(camelCase, arguments);
	return cased.charAt(0).toUpperCase() + cased.slice(1);
};

camelcase

Convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`

MIT
Latest version published 10 months ago

Package Health Score

77 / 100
Full package analysis

Popular camelcase functions