Gathering detailed insights and metrics for sinon
Gathering detailed insights and metrics for sinon
Gathering detailed insights and metrics for sinon
Gathering detailed insights and metrics for sinon
Test spies, stubs and mocks for JavaScript.
npm install sinon
Typescript
Module System
Node Version
NPM Version
97.6
Supply Chain
97.1
Quality
84.7
Maintenance
100
Vulnerability
99.6
License
Make resetHistory work for props
Published on 26 Jan 2018
Speed up stub creation
Published on 23 Jan 2018
Add match.every and match.some
Published on 23 Jan 2018
Replace 4.1.5, which was a bad build
Published on 23 Jan 2018
Fix issue with `useFakeServer`
Published on 13 Jan 2018
Minor fix for Symbol names and deprecation of spy.reset
Published on 08 Jan 2018
JavaScript (99.46%)
Shell (0.52%)
Ruby (0.02%)
Total Downloads
1,438,624,479
Last Day
467,964
Last Week
4,489,487
Last Month
25,089,213
Last Year
302,255,737
9,681 Stars
3,663 Commits
771 Forks
92 Watching
9 Branches
332 Contributors
Minified
Minified + Gzipped
Latest Version
19.0.2
Package Id
sinon@19.0.2
Unpacked Size
5.16 MB
Size
1.36 MB
File Count
49
NPM Version
10.7.0
Node Version
22.2.0
Publised On
13 Sept 2024
Cumulative downloads
Total Downloads
Last day
-56.6%
467,964
Compared to previous day
Last week
-25.7%
4,489,487
Compared to previous week
Last month
-10.8%
25,089,213
Compared to previous month
Last year
-7.2%
302,255,737
Compared to previous year
25
Standalone and test framework agnostic JavaScript test spies, stubs and mocks (pronounced "sigh-non", named after Sinon, the warrior).
For details on compatibility and browser support, please see COMPATIBILITY.md
via npm
$ npm install sinon
or via Sinon's browser builds available for download on the homepage. There are also npm based CDNs one can use.
See the sinon project homepage for documentation on usage.
If you have questions that are not covered by the documentation, you can check out the sinon
tag on Stack Overflow.
See CONTRIBUTING.md for details on how you can contribute to Sinon.JS
Thank you to all our backers! 🙏 [Become a backer]
Become a sponsor and get your logo on our README on GitHub with a link to your site. [Become a sponsor]
Sinon.js was released under BSD-3
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
GitHub workflow tokens follow principle of least privilege
Details
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
1 existing vulnerabilities detected
Details
Reason
SAST tool is not run on all commits -- score normalized to 7
Details
Reason
3 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 2
Reason
dependency not pinned by hash detected -- score normalized to 2
Details
Reason
Found 4/24 approved changesets -- score normalized to 1
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2024-12-16
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