Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
cli tool to mock data, supports mockjs and faker.js
npm i -g mmock-cli
$ mmock //start the mock server
-h --help show help
-v --version show version
-d --domain set mock server url domain
-p --port set mock server url port
--db set mock server db json file path
mock -p 8886 -d http://mock.com
support mockjs and faker.js, you can use it alone, or mix them
example:
{
"user|4":[{ //生成|num个如下格式名字的数据
"id|+1": 1, //数字从当前数开始后续依次加一
"name": "@cname", //名字为随机中文名字
"ago|18-31": 25, //年龄为18-28之间的随机数字
"sex|1":["男","女"], //性别是数组中的一个,随机的
"job|1": ["js","css","node.js","vue"] //工作是数组中的一个
"email": "{{internet.email}}", //email
"website": "{{internet.url}}" //url
}]
}
FAQs
mock server, supports mockjs and faker.js
The npm package mmock-cli receives a total of 4 weekly downloads. As such, mmock-cli popularity was classified as not popular.
We found that mmock-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.