camelcase
npmv9.0.0TypeScriptConvert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`
Overview
camelcase is an npm package that convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar`. The latest version is 9.0.0, released under the MIT license.
Who should use it
Teams working in the npm ecosystem who need convert a dash/dot/underscore/space separated string to camelCase or PascalCase: `foo-bar` → `fooBar` and value a focused solution.
When not to use it
Consider an alternative if you need to or if a more actively-maintained option better fits your npm stack.
Pros
- Ships TypeScript type definitions.
- Clear open-source license (MIT).
- Lean dependency tree (3 direct dependencies).
Cons
- No significant drawbacks detected from available metadata.
Auto-generated from collected registry metadata. No external claims are inferred.
Relationship graph
Dependencies (left) and dependents (right) of camelcase.
Dependencies
Dev (3)
Used by
Popular packages that depend on camelcase.
Alternatives to camelcase
Convert a camelized string into a lowercased one with a custom separator: unicornRainbow → unicorn_rainbow
Convert a string index to its line and column position
Strip UTF-8 byte order mark (BOM) from a string
Determine the East Asian Width of a Unicode character
Measure the difference between two strings using the Levenshtein distance algorithm
An error subclass for wrapping non-error values
Convert character encodings in pure javascript.
Utility to parse a string bytes to bytes and vice-versa
Functions for dealing with a PostgreSQL connection string
Convert an absolute path to a tilde path: `/Users/sindresorhus/dev` → `~/dev`
Get the line and column number of a specific character in a string
Returns `true` if the given string looks like a glob pattern or an extglob pattern. This makes it easy to create code that only uses external modules like node-glob when necessary, resulting in much faster code execution and initialization time, and a bet
Frequently installed together
The semantic version parser used by npm.
Resolve the path of a module like `require.resolve()` but from a given path
Determine the `package.json#type` which applies to a location
TypeScript definitions for yargs
Stringify any JavaScript value.
A utility function to get the type of a value
Measure the difference between two strings using the Levenshtein distance algorithm
Find a file or directory by walking up parent directories
No description provided.
Version history
| Version | Published | License |
|---|---|---|
| 9.0.0latest | 8 months ago | MIT |
| 8.0.0 | 2 years ago | MIT |
| 7.0.1 | 3 years ago | MIT |
| 7.0.0 | 4 years ago | MIT |
| 6.3.0 | 4 years ago | MIT |
| 6.2.1 | 4 years ago | MIT |
| 6.2.0 | 5 years ago | MIT |
| 6.1.0 | 5 years ago | MIT |
| 6.0.0 | 6 years ago | MIT |
| 5.3.1 | 7 years ago | MIT |
| 5.3.0 | 7 years ago | MIT |
| 5.2.0 | 7 years ago | MIT |
| 5.1.0 | 7 years ago | MIT |
| 5.0.0 | 8 years ago | MIT |
| 4.1.0 | 9 years ago | MIT |
| 4.0.0 | 9 years ago | MIT |
| 3.0.0 | 10 years ago | MIT |
| 2.1.1 | 10 years ago | MIT |
| 2.1.0 | 10 years ago | MIT |
| 2.0.1 | 10 years ago | MIT |
Maintainers
Funding
Frequently asked questions
How do I install camelcase?
Run `npm install camelcase` to add camelcase to your npm project.
What license is camelcase released under?
camelcase is distributed under the MIT license.
How popular is camelcase?
camelcase has approximately 0 downloads per week and 1 known dependent packages.