Package
mocked-env
Easy way to mock process.env during BDD testing
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 75.4k
- +13% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- 5 years ago
- v1.3.5
- GitHub stars
- 45
- 6 forks
- Open issues / PRs
- 2 / 12
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
75,437 downloads last week, 409,133 in the last month. The 12-month change of +13% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 1.3.5, 4 Jul 20215 years ago
- First published
- -
- Last push to GitHub
- 25 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 12
- Commits, last 52 weeks
- 0
- Dependents on npm
- 8
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=6
- Runtimes
- -
- Unpacked size (npm)
- 12 kB
- Dependencies (4)
debugramdalazy-asscheck-more-types
npm install mocked-env- jsDelivr
https://cdn.jsdelivr.net/npm/mocked-env@1.3.5/ - unpkg
https://unpkg.com/mocked-env@1.3.5/ - esm.sh
https://esm.sh/mocked-env@1.3.5
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| vitest-canvas-mock | 819.6k | - | 20 days ago | ESM + CommonJS | - |
| sinon-express-mock | 18.8k | - | 7 years ago | CommonJS | - |
| muk-prop | 17.1k | - | 3 years ago | CommonJS | - |
| mock-match-media | 31.2k | - | 11 months ago | ESM + CommonJS | - |
| @jedmao/redux-mock-store | 11.5k | - | 6 years ago | ESM + CommonJS | - |
| vitest-console | 10.4k | - | 11 months ago | ESM only | - |
| mock-xmlhttprequest | 94k | - | 1 year ago | ESM + CommonJS | - |
| jest-launchdarkly-mock | 76.6k | - | 6 months ago | CommonJS | - |
Indexability: Indexed.