Skip to content
JS
Package

sandboxed-module

A sandboxed Node.js module loader that lets you inject dependencies into your modules.

v2.0.4, 3 Apr 2020MITCommonJSTypes: NoneDev servers and API mockingTesting
$ npm install sandboxed-module

Key numbers

As of 25 Sept 2026
Weekly downloads
7.1k
-68% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 years ago
v2.0.4
GitHub stars
343
41 forks
Open issues / PRs
16 / 8
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 36k (21 Apr 2026)Low 4.8k (1 Sept 2026)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

7,106 downloads last week, 31,496 in the last month. The 12-month change of -68% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.4, 3 Apr 20206 years ago
First published
-
Last push to GitHub
3 May 20202,335 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
8
Commits, last 52 weeks
0
Dependents on npm
19

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)
17 kB
Dependencies (2)
stack-tracerequire-like
npm install sandboxed-module
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sandboxed-module@2.0.4/
  • unpkghttps://unpkg.com/sandboxed-module@2.0.4/
  • esm.shhttps://esm.sh/sandboxed-module@2.0.4
PackageWeekly downloadsGzipLast releaseModuleComparison
bun-bagel5.4k-1 year agoESM only-
@automock/jest43.9k-9 months agoCommonJS-
msw14.4m-2 months agoESM + CommonJS-
json-server356.8k-6 months agoESM only-
casual-browserify62.9k-8 years agoCommonJS-
rewiremock45.3k-1 year agoESM + CommonJS-
miragejs264.2k-2 years agoESM + CommonJS-
scenario-mock-server39.8k-3 years agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 7106 < 10000.