# 使用 npm 安装 mockjs

查看 mockjs 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:mockjs
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g mockjs
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:mockjs
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/mockjs>
- **版本:** 1.1.0
- **来源摘要:** 生成随机数据 & 拦截 Ajax 请求
- **主页:** <http://mockjs.com/>
- **仓库:** <https://github.com/nuysoft/Mock>
- **上游文档:** <http://mockjs.com/>
- **源码归档:** <https://registry.npmjs.org/mockjs/-/mockjs-1.1.0.tgz>
- **问题跟踪器:** <https://github.com/nuysoft/Mock/issues>
- **发布时间:** 2019-10-25T02:24:20.627Z
- **最后更新:** 2019-10-25T02:24:20.627Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- random (cli)

## 依赖

- commander

## 构建依赖

- gulp
- gulp-connect
- gulp-coveralls
- gulp-istanbul
- gulp-jshint
- gulp-mocha
- gulp-mocha-phantomjs
- jshint
- jshint-stylish
- webpack

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 1.1.0
- 管理器更新时间: 2019-10-25
- 本地数据: OK
- 上游仓库: https://github.com/nuysoft/Mock
- 警告: The package-manager record has not been updated in over a year.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 mockjs 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 1.1.0
- **Version Count:** 10
- **Maintainers:** alvarto, nuysoft
- **Author:** nuysoft@gmail.com
- **Publisher:** alvarto
- **Integrity:** sha512-eQsKcWzIaZzEZ07NuEyO4Nw65g0hdWAyurVol1IPl1gahRwY+svqzfgfey8U8dahLwG44d6/RwEzuK52rSa/JQ==
- **Shasum:** e6a0c378e91906dbaff20911cc0273b3c7d75b06
- **Unpacked Size:** 1,887,322
- **File Count:** 0
- **Created At:** 2013-09-23T11:50:43.894Z
- **Latest Published At:** 2019-10-25T02:24:20.627Z
- **Modified At:** 2023-08-20T09:46:41.436Z


## 相关链接

- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched curated package taxonomy and local package facts.
- [http-request-mock](https://pkg.so/zh-hans/npm/http-request-mock/) - Local package facts share a topical domain. Shared terms: ajax, cli, commander, developer, developer-tools.
- [wiremock-rest-client](https://pkg.so/zh-hans/npm/wiremock-rest-client/) - Local package facts share a topical domain. Shared terms: cli, commander, developer, developer-tools, mock.
- [msw-auto-mock](https://pkg.so/zh-hans/npm/msw-auto-mock/) - Local package facts share a topical domain. Shared terms: cli, data, developer, developer-tools, mock.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
