Skip to content
JS
Package

code-excerpt

Extract code excerpts

v4.0.0, 6 Feb 2022MITESM onlyTypes: Bundled
$ npm install code-excerpt

Key numbers

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

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6m8mSept 2025Mar 2026Sept 2026High 6.7m (25 Aug 2026)Low 1.9m (28 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

5,063,182 downloads last week. The 12-month change of +175% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
4.0.0, 6 Feb 20224 years ago
First published
13 Nov 2016
Last push to GitHub
6 Feb 20221,691 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
-

Major versions

  1. v4 first release 4.0.0, 6 Feb 2022
  2. v3 first release 3.0.0, 16 Jun 2020
  3. v2 first release 2.0.0, 5 Jan 2017
  4. v1 first release 1.0.0, 13 Nov 2016

Recent releases

VersionPublished
4.0.06 Feb 2022
3.0.016 Jun 2020
2.1.120 Jan 2018
2.1.01 Feb 2017
2.0.05 Jan 2017
1.1.05 Jan 2017
1.0.219 Nov 2016
1.0.113 Nov 2016
1.0.013 Nov 2016
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^12.20.0 || ^14.13.1 || >=16.0.0
Runtimes
-
Unpacked size (npm)
4.1 kB
Dependencies (1)
convert-to-spaces
npm install code-excerpt
  • jsDelivrhttps://cdn.jsdelivr.net/npm/code-excerpt@4.0.0/
  • unpkghttps://unpkg.com/code-excerpt@4.0.0/
  • esm.shhttps://esm.sh/code-excerpt@4.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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