Skip to content
JS
Package

require-inject

A simple mock injector compatible needing no instrumentation in the libraries being tested

v1.4.4, 25 Dec 2018ISCCommonJSTypes: NoneTesting
$ npm install require-inject

Key numbers

As of 25 Sept 2026
Weekly downloads
15.2k
-47% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 years ago
v1.4.4
GitHub stars
33
8 forks
Open issues / PRs
0 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 68k (4 Nov 2025)Low 11.2k (11 Aug 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

15,193 downloads last week, 74,433 in the last month. The 12-month change of -47% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.4.4, 25 Dec 20187 years ago
First published
-
Last push to GitHub
6 Oct 20202,179 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
3

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
12 kB
Dependencies (1)
caller
npm install require-inject
  • jsDelivrhttps://cdn.jsdelivr.net/npm/require-inject@1.4.4/
  • unpkghttps://unpkg.com/require-inject@1.4.4/
  • esm.shhttps://esm.sh/require-inject@1.4.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.