Gathering detailed insights and metrics for @fetch-mock/vitest
Gathering detailed insights and metrics for @fetch-mock/vitest
npm install @fetch-mock/vitest
Typescript
Module System
Min. Node Version
Node Version
NPM Version
62.7
Supply Chain
65.2
Quality
91.7
Maintenance
100
Vulnerability
97.9
License
fetch-mock: v12.5.2
Updated on Mar 03, 2025
jest: v0.2.15
Updated on Mar 03, 2025
vitest: v0.2.13
Updated on Mar 03, 2025
fetch-mock: v12.5.1
Updated on Mar 01, 2025
jest: v0.2.14
Updated on Mar 01, 2025
vitest: v0.2.12
Updated on Mar 01, 2025
JavaScript (63.55%)
TypeScript (36.21%)
Shell (0.24%)
Verify real, reachable, and deliverable emails with instant MX records, SMTP checks, and disposable email detection.
Total Downloads
32,049
Last Day
944
Last Week
3,556
Last Month
11,803
Last Year
32,049
MIT License
1,298 Stars
1,977 Commits
186 Forks
12 Watchers
30 Branches
77 Contributors
Updated on Mar 11, 2025
Minified
Minified + Gzipped
Latest Version
0.2.13
Package Id
@fetch-mock/vitest@0.2.13
Unpacked Size
53.28 kB
Size
9.88 kB
File Count
25
NPM Version
10.9.2
Node Version
22.14.0
Published on
Mar 03, 2025
Cumulative downloads
Total Downloads
Last Day
93.4%
944
Compared to previous day
Last Week
12.6%
3,556
Compared to previous week
Last Month
-14%
11,803
Compared to previous month
Last Year
0%
32,049
Compared to previous year
1
1
A wrapper for fetch-mock that improves the developer experience when working with vitest. It provides the following:
expect
with convenience methods allowing for expressive tests such as expect(fetchMock).toHavePosted('http://example.com', {id: 'test-id'})
.clearAllMocks()
.@fetch-mock/vitest requires either of the following to run:
fetch
API, via one of the following:
fetch
APISee the project website
@fetch-mock/vitest is licensed under the MIT license. Copyright © 2024, Rhys Evans
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
30 commit(s) and 13 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 9
Details
Reason
2 existing vulnerabilities detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 5
Details
Reason
Found 1/9 approved changesets -- score normalized to 1
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Score
Last Scanned on 2025-03-03
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More