Gathering detailed insights and metrics for @zjffun/mockjs
Gathering detailed insights and metrics for @zjffun/mockjs
Gathering detailed insights and metrics for @zjffun/mockjs
Gathering detailed insights and metrics for @zjffun/mockjs
npm install @zjffun/mockjs
Typescript
Module System
Node Version
NPM Version
76
Supply Chain
86.1
Quality
74.9
Maintenance
100
Vulnerability
100
License
JavaScript (99.44%)
HTML (0.56%)
Total Downloads
838
Last Day
1
Last Week
3
Last Month
18
Last Year
108
NOASSERTION License
19,606 Stars
230 Commits
2,663 Forks
415 Watchers
4 Branches
5 Contributors
Updated on Jun 14, 2025
Minified
Minified + Gzipped
Latest Version
1.2.0
Package Id
@zjffun/mockjs@1.2.0
Unpacked Size
1.88 MB
Size
708.57 kB
File Count
64
NPM Version
6.9.0
Node Version
10.16.0
Cumulative downloads
Total Downloads
Last Day
0%
1
Compared to previous day
Last Week
50%
3
Compared to previous week
Last Month
50%
18
Compared to previous month
Last Year
-26.5%
108
Compared to previous year
1
支持截获 fetch
,其他用法和主仓库一样,增加的代码参见 Support intercept fetch · zjffun/Mock-support-intercept-fetch@3a71000
Support intercept fetch
, other using are same as main repo.
使用:
1npm install @zjffun/mockjs
使用:
1// 设置模板前开启 sendRequest 2Mock.sendRequest = true;
Mock.js is a simulation data generator to help the front-end to develop and prototype separate from the back-end progress and reduce some monotony particularly while writing automated tests.
The official site: http://mockjs.com
This library is loosely inspired by Elijah Manor's post Mocking Introduction, mennovanslooten/mockJSON, appendto/jquery-mockjax and victorquinn/chancejs.
If you have any questions, please feel free to ask through New Issue.
Make sure the problem you're addressing is reproducible. Use http://jsbin.com/ or http://jsfiddle.net/ to provide a test page. Indicate what browsers the issue can be reproduced in. What version of Mock.js is the issue reproducible in. Is it reproducible after updating to the latest version?
Mock.js is available under the terms of the MIT License.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/27 approved changesets -- score normalized to 0
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
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-06-09
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