Skip to content
JS
Package

github-slugger

Generate a slug just like GitHub does for markdown headings.

v2.0.0, 27 Oct 2022ISCESM onlyTypes: BundledMarkdown
$ npm install github-slugger

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
05m10m15m20mSept 2025Mar 2026Sept 2026High 15.1m (25 Aug 2026)Low 3.2m (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.

11,952,972 downloads last week, 56,390,746 in the last month. The 12-month change of +139% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
012 in total
Latest version
2.0.0, 27 Oct 20223 years ago
First published
22 Sept 2015
Last push to GitHub
30 Sept 20231,090 days before the snapshot
Repository archived
No
Open issues
4
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
1,030

Major versions

  1. v2 first release 2.0.0, 27 Oct 2022
  2. v1 first release 1.0.0, 22 Sept 2015

Recent releases

VersionPublished
2.0.027 Oct 2022
1.5.025 Oct 2022
1.4.024 Aug 2021
1.3.021 Feb 2020
1.2.18 Jan 2019
1.2.021 Sept 2017
1.1.330 May 2017
1.1.226 May 2017
1.1.126 Apr 2016
1.1.022 Apr 2016
1.0.123 Jan 2016
1.0.022 Sept 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
16 kB
Dependencies (0)
None
npm install github-slugger

CDN

jsDelivr: 265.6k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/github-slugger@2.0.0/
  • unpkghttps://unpkg.com/github-slugger@2.0.0/
  • esm.shhttps://esm.sh/github-slugger@2.0.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.