模拟数据生成器
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.
MockXMLHttpRequest 在处理二进制流类型的响应时的结果与源生方法不一致
ISO8601格式的支持
该项目目前所有版本都存在高危漏洞,请不要再使用
响应头 Content-Security-Policy "script-src 'self'" 导致无法使用 eval【BUG】
在 react+vite 项目中下载 mockjs 和 vite-plugin-mock 提示 npm 包存在高级漏洞
求助:mockjs 影响上传进度
早在2019年,这个库就不再维护了,各位可以另寻出路。
作者是否有支持ts 类型的计划?
Mockjs.com 的示例页面无法加载。
不同层次字段之间的依赖的规则怎么写