Skip to content
JS
Package

capital-case

Transform into a space separated string with each word capitalized

v2.0.0, 30 Sept 2023MITESM onlyTypes: None
$ npm install capital-case
Deprecated on npm
Use `change-case`

Key numbers

As of 25 Sept 2026
Weekly downloads
8.1m
+27% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
2 years ago
v2.0.0
GitHub stars
2.4k
108 forks
Open issues / PRs
12 / 6
Contributors
25
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15mSept 2025Mar 2026Sept 2026High 12.9m (23 Jun 2026)Low 4m (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.

8,127,057 downloads last week, 41,967,036 in the last month. The 12-month change of +27% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
06 in total
Latest version
2.0.0, 30 Sept 20232 years ago
First published
1 Dec 2019
Last push to GitHub
17 Jun 2025464 days before the snapshot
Repository archived
No
Open issues
12
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v2 first release 2.0.0, 30 Sept 2023
  2. v1 first release 1.0.0, 1 Dec 2019

Recent releases

VersionPublished
2.0.030 Sept 2023
1.0.42 Dec 2020
1.0.319 Dec 2019
1.0.26 Dec 2019
1.0.13 Dec 2019
1.0.01 Dec 2019
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
3.0 kB
Dependencies (1)
no-case
npm install capital-case
  • jsDelivrhttps://cdn.jsdelivr.net/npm/capital-case@2.0.0/
  • unpkghttps://unpkg.com/capital-case@2.0.0/
  • esm.shhttps://esm.sh/capital-case@2.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): deprecated; no category.