Skip to content
JS
Package

nanospy

Spy and mock methods in tests with great TypeScript support

v2.0.2MITCommonJSTypes: BundledTypeScript toolingTesting
$ npm install nanospy

Key numbers

As of 25 Sept 2026
Weekly downloads
1.4k
+85% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
-
v2.0.2
GitHub stars
159
7 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
20

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3kSept 2025Mar 2026Sept 2026High 2.8k (25 Nov 2025)Low 424 (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.

1,445 downloads last week, 7,163 in the last month. The 12-month change of +85% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.2
First published
-
Last push to GitHub
23 Jul 202663 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
20
Dependents on npm
-

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
^8.0.0 || ^10.0.0 || ^12.0.0 || ^14.0.0 || ^16.0.0 || ^18.0.0 || ^20.0.0 || ^22.0.0 || ^24.0.0 || >=26.0.0
Runtimes
-
Unpacked size (npm)
6.4 kB
Dependencies (0)
None
npm install nanospy
  • jsDelivrhttps://cdn.jsdelivr.net/npm/nanospy@2.0.2/
  • unpkghttps://unpkg.com/nanospy@2.0.2/
  • esm.shhttps://esm.sh/nanospy@2.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
@johanblumenberg/ts-mockito7k-11 months agoCommonJS-
ts-mock-imports60k-11 months agoCommonJS-
expect-type63.6m-2 months agoCommonJS-
junit-report-builder950.2k-5 months agoESM + CommonJS-
tsafe811.9k-11 months agoESM + CommonJS-
ts-mocha483.1k-1 year agoCommonJS-
karma-typescript82.2k-3 years agoCommonJS-
tstyche55.5k-15 days agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

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