Skip to content
JS
Package

sinon-express-mock

Simple request and response mock objects to pass into Express routes when testing using Sinon.

v2.2.1, 21 Aug 2019MITCommonJSTypes: NoneTestingDev servers and API mocking
$ npm install sinon-express-mock

Key numbers

As of 25 Sept 2026
Weekly downloads
18.8k
-14% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
7 years ago
v2.2.1
GitHub stars
46
16 forks
Open issues / PRs
2 / 2
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
010k20k30k40kSept 2025Mar 2026Sept 2026High 39k (4 Nov 2025)Low 9.1k (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.

18,846 downloads last week, 83,039 in the last month. The 12-month change of -14% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.2.1, 21 Aug 20197 years ago
First published
-
Last push to GitHub
26 Jun 20231,186 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
2
Commits, last 52 weeks
0
Dependents on npm
6

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)
7.5 kB
Dependencies (0)
None
Peer dependencies (1)
sinon
npm install sinon-express-mock
  • jsDelivrhttps://cdn.jsdelivr.net/npm/sinon-express-mock@2.2.1/
  • unpkghttps://unpkg.com/sinon-express-mock@2.2.1/
  • esm.shhttps://esm.sh/sinon-express-mock@2.2.1
PackageWeekly downloadsGzipLast releaseModuleComparison
mocked-env75.4k-5 years agoCommonJS-
mock-property450.6k-3 months agoCommonJS-
vuex-mock-store13.5k-3 years agoCommonJS-
ng-mocks404.6k-6 days agoESM + CommonJS-
xhr-mocklet332.8k-7 years agoESM + CommonJS-
mock-xmlhttprequest94k-1 year agoESM + CommonJS-
ts-auto-mock27k-2 years ago--
vitest-canvas-mock819.6k-20 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.