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