Skip to content
JS
Package

dashify

Convert a camelcase or space-separated string to a dash-separated string. ~12 sloc, fast, supports diacritics.

v2.0.0, 20 Nov 2018MITCommonJSTypes: NoneStrings and text
$ npm install dashify

Key numbers

As of 25 Sept 2026
Weekly downloads
735.3k
+16% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.0.0
GitHub stars
91
16 forks
Open issues / PRs
2 / 3
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1.2m (18 Aug 2026)Low 335.2k (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.

735,338 downloads last week, 3,482,458 in the last month. The 12-month change of +16% 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, 20 Nov 20187 years ago
First published
13 Feb 2015
Last push to GitHub
27 Nov 20211,762 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
3
Commits, last 52 weeks
0
Dependents on npm
192

Major versions

  1. v2 first release 2.0.0, 20 Nov 2018
  2. v1 first release 1.0.0, 3 Dec 2017
  3. v0 first release 0.1.0, 13 Feb 2015

Recent releases

VersionPublished
2.0.020 Nov 2018
1.0.03 Dec 2017
0.2.223 May 2016
0.2.13 Jan 2016
0.2.024 Sept 2015
0.1.013 Feb 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>=4
Runtimes
-
Unpacked size (npm)
7.1 kB
Dependencies (0)
None
npm install dashify
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dashify@2.0.0/
  • unpkghttps://unpkg.com/dashify@2.0.0/
  • esm.shhttps://esm.sh/dashify@2.0.0
PackageWeekly downloadsGzipLast releaseModuleComparison
voca191.3k-3 years agoESM + CommonJS-
@hexagon/base643.3m-1 year agoESM + CommonJS-
string-to-stream358.2k-7 years agoCommonJS-
string-pixel-width78.9k-3 years agoCommonJS-
@wessberg/stringutil53.2k-6 years agoESM + CommonJS-
@stdlib/string29k-3 months agoCommonJS-
@stdlib/string-base-trim15k-7 months agoCommonJS-
montag13.6k-9 days agoESM only-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.