Package
nanospy
Spy and mock methods in tests with great TypeScript support
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
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- jsDelivr
https://cdn.jsdelivr.net/npm/nanospy@2.0.2/ - unpkg
https://unpkg.com/nanospy@2.0.2/ - esm.sh
https://esm.sh/nanospy@2.0.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @johanblumenberg/ts-mockito | 7k | - | 11 months ago | CommonJS | - |
| ts-mock-imports | 60k | - | 11 months ago | CommonJS | - |
| expect-type | 63.6m | - | 2 months ago | CommonJS | - |
| junit-report-builder | 950.2k | - | 5 months ago | ESM + CommonJS | - |
| tsafe | 811.9k | - | 11 months ago | ESM + CommonJS | - |
| ts-mocha | 483.1k | - | 1 year ago | CommonJS | - |
| karma-typescript | 82.2k | - | 3 years ago | CommonJS | - |
| tstyche | 55.5k | - | 15 days ago | ESM + CommonJS | - |
Indexability: Not indexed (discovery only): downloads_week 1445 < 10000.