Socket
Socket
Sign inDemoInstall

lodash.camelcase

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lodash.camelcase

The modern build of lodash’s `_.camelCase` as a module.


Version published
Weekly downloads
2.7M
decreased by-80.27%
Maintainers
1
Weekly downloads
 
Created

What is lodash.camelcase?

The lodash.camelcase npm package is a utility function from the Lodash library, specifically designed to convert strings into camelCase format. This is useful in programming environments where camelCase is a standard naming convention, such as in JavaScript for variable and function names.

What are lodash.camelcase's main functionalities?

String Conversion to camelCase

Converts strings with spaces, dashes, underscores, or mixed separators to camelCase format, which is a common requirement in various coding standards and practices.

const _ = require('lodash.camelcase');
console.log(_.camelCase('FOO BAR')); // 'fooBar'
console.log(_.camelCase('--foo-bar--')); // 'fooBar'
console.log(_.camelCase('__FOO_BAR__')); // 'fooBar'

Other packages similar to lodash.camelcase

Keywords

FAQs

Package last updated on 26 Jan 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc