Socket
Socket
Sign inDemoInstall

camel-case

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

camel-case

Camel case a string


Version published
Weekly downloads
17M
decreased by-7.47%
Maintainers
1
Weekly downloads
 
Created

What is camel-case?

The camel-case npm package is a utility for converting strings into camelCase text. It is often used in programming environments where camelCase is the standard naming convention for identifiers, such as in JavaScript. This package can be particularly useful for formatting strings received from different sources (like user input or external APIs) to match the camelCase naming convention used in a codebase.

What are camel-case's main functionalities?

Convert string to camelCase

This feature allows you to convert any string, including phrases with spaces or special characters, into camelCase. It's useful for standardizing text input for variable names, object keys, or any other identifiers in code.

const { camelCase } = require('camel-case');

const result = camelCase('hello world');
console.log(result); // 'helloWorld'

Other packages similar to camel-case

Keywords

FAQs

Package last updated on 19 Aug 2014

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc