Skip to content
JS
Package

preprocess

Preprocess directives in HTML, JavaScript, etc directives based off variable context

v3.2.0, 13 Apr 2020No license fieldCommonJSTypes: None
$ npm install preprocess

Key numbers

As of 25 Sept 2026
Weekly downloads
28.4k
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
6 years ago
v3.2.0
GitHub stars
366
76 forks
Open issues / PRs
43 / 12
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60kSept 2025Mar 2026Sept 2026High 46.7k (31 Mar 2026)Low 13.5k (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.

28,376 downloads last week, 142,116 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
3.2.0, 13 Apr 20206 years ago
First published
-
Last push to GitHub
7 Apr 20211,996 days before the snapshot
Repository archived
No
Open issues
43
Open pull requests
12
Commits, last 52 weeks
0
Dependents on npm
75

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 0.10.0
Runtimes
-
Unpacked size (npm)
112 kB
Dependencies (1)
xregexp
npm install preprocess
  • jsDelivrhttps://cdn.jsdelivr.net/npm/preprocess@3.2.0/
  • unpkghttps://unpkg.com/preprocess@3.2.0/
  • esm.shhttps://esm.sh/preprocess@3.2.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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