# 使用 npm 安装 mongodb-schema

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

## 安装

```sh
sudo av install npm:mongodb-schema
```

其他安装命令:

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

- npm (100%):

```sh
npm install -g mongodb-schema
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:mongodb-schema
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/mongodb-schema>
- **版本:** 12.7.0
- **来源摘要:** Infer the probabilistic schema for a MongoDB collection.
- **主页:** <http://github.com/mongodb-js/mongodb-schema>
- **仓库:** <https://github.com/mongodb-js/mongodb-schema>
- **上游文档:** <http://github.com/mongodb-js/mongodb-schema>
- **许可证:** Apache-2.0
- **源码归档:** <https://registry.npmjs.org/mongodb-schema/-/mongodb-schema-12.7.0.tgz>
- **问题跟踪器:** <https://github.com/mongodb-js/mongodb-schema/issues>
- **发布时间:** 2026-01-26T11:14:00.646Z
- **最后更新:** 2026-01-26T11:14:00.646Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mongodb-schema (cli)
- mongodb-schema (别名)

## 依赖

- reservoir

## 构建依赖

- @mongodb-js/compass-test-server
- @types/json-schema
- @types/mocha
- @types/node
- @types/reservoir
- @types/sinon
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- ajv
- bson
- coveralls
- depcheck
- eslint
- eslint-config-semistandard
- eslint-config-standard
- eslint-plugin-import
- eslint-plugin-node
- eslint-plugin-promise
- eslint-plugin-standard
- gen-esm-wrapper
- mocha
- mongodb
- nyc
- sinon
- ts-node
- typescript

## 安装行为

- post-install 钩子: 未定义
- npm 生命周期脚本: prepare
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 12.7.0
- 管理器更新时间: 2026-01-26
- 本地数据: OK
- 上游仓库: https://github.com/mongodb-js/mongodb-schema
- notice: The package-manager record has not changed recently.
- 信息: No cached GitHub release or tag data was available.

## 安全说明

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


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Beta: 2.1.1, Latest: 12.7.0
- **Version Count:** 79
- **Maintainers:** dbx-node, devtools-npm-user, devtoolsbot, imlucas, jarjee, kristina.stefano, mongo-j, mongodb-js-user, nbbeeken, rueckstiess, satyasinha
- **Author:** MongoDB Inc
- **Publisher:** addaleax
- **Optional Dependencies:** bson, cli-table, js-yaml, mongodb, mongodb-ns, numeral, progress, stats-lite, yargs
- **Integrity:** sha512-TPfop6c2AAQJP1QhQwi/uJnuPEeLhMvN9ouJAZ6M9mouH6fCr0WOHLJWx5Z0dSeXJIVy//WTXxZB6yiol1bGEA==
- **Shasum:** fedb9400f947257bacd4af2aaa63ca8d692ecb1a
- **Unpacked Size:** 124,648
- **File Count:** 0
- **Created At:** 2014-07-03T22:39:41.299Z
- **Latest Published At:** 2026-01-26T11:14:00.646Z
- **Modified At:** 2026-07-29T15:38:56.397Z


## 相关链接

- [Database and data packages](https://pkg.so/zh-hans/database-data-tools/) - Matched curated package taxonomy and local package facts.
- [mongodb-download-url](https://pkg.so/zh-hans/npm/mongodb-download-url/) - Package names and metadata indicate a similar tool family. Shared terms: cli, data, mongodb.
- [mongodb-runner](https://pkg.so/zh-hans/npm/mongodb-runner/) - Package names and metadata indicate a similar tool family. Shared terms: cli, data, mongodb.
- [generate-schema](https://pkg.so/zh-hans/npm/generate-schema/) - Local package facts share a topical domain. Shared terms: cli, data, schema, schema-tools.

## 来源

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