Skip to content
JS
Package

camelcase

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

v9.0.0, 10 Nov 2025MITESM onlyTypes: BundledStrings and text
$ npm install camelcase

Key numbers

As of 25 Sept 2026
Weekly downloads
142.1m
+26% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
10 months ago
v9.0.0
GitHub stars
697
102 forks
Open issues / PRs
0 / 0
Contributors
31
Commits, last 52 weeks
7

Downloads

Last week 2026-09-15 to 2026-09-21
050m100m150m200mSept 2025Mar 2026Sept 2026High 181.5m (18 Aug 2026)Low 64.6m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

142,120,869 downloads last week, 602,554,509 in the last month. The 12-month change of +26% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
127 in total
Latest version
9.0.0, 10 Nov 202510 months ago
First published
30 Oct 2013
Last push to GitHub
21 Jul 202665 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
7
Dependents on npm
6,840

Major versions

  1. v9 first release 9.0.0, 10 Nov 2025
  2. v8 first release 8.0.0, 9 Aug 2023
  3. v7 first release 7.0.0, 6 Jun 2022
  4. v6 first release 6.0.0, 7 Apr 2020
  5. v5 first release 5.0.0, 28 Mar 2018
  6. v4 first release 4.0.0, 8 Nov 2016
  7. v3 first release 3.0.0, 4 May 2016
  8. v2 first release 2.0.0, 15 Nov 2015
  9. v1 first release 1.0.0, 12 Oct 2014

Recent releases

VersionPublished
9.0.010 Nov 2025
8.0.09 Aug 2023
7.0.113 Dec 2022
7.0.06 Jun 2022
6.3.01 Jan 2022
6.2.115 Nov 2021
6.2.028 Oct 2020
6.1.010 Oct 2020
6.0.07 Apr 2020
5.3.13 Apr 2019
5.3.01 Apr 2019
5.2.05 Mar 2019
5.1.04 Mar 2019
5.0.028 Mar 2018
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=20
Runtimes
-
Unpacked size (npm)
17 kB
Dependencies (0)
None
npm install camelcase
  • jsDelivrhttps://cdn.jsdelivr.net/npm/camelcase@9.0.0/
  • unpkghttps://unpkg.com/camelcase@9.0.0/
  • esm.shhttps://esm.sh/camelcase@9.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.