seeksvc Search tools, solutions, libraries…
mongoosejs.com icon
Mongoose Open source · MIT ★ 27.5k
Elegant MongoDB object modeling for Node.js
Visit website ↗ GitHub ↗
Introduction
Mongoose is a MongoDB object modeling tool designed to work in an asynchronous environment. Mongoose supports Node.js and Deno (alpha).
Let's face it, writing MongoDB validation, casting and business logic boilerplate is a drag. That's why we wrote Mongoose. Mongoose provides a straight-forward, schema-based solution to model your application data. It includes built-in type casting, validation, query building, business logic hooks and more, out of the box.
First install Node.js and MongoDB, then install the `mongoose` package using your preferred package manager. First, we need to define a connection. If your app uses only one database, you should use `mongoose.connect`. If you need to create additional connections, use `mongoose.createConnection`.
Check out the plugins search site to see hundreds of related modules from the community.
MongoDB ODMNode.jsDeno alphaSchemasValidationQuery buildingPluginsMIT license
Screenshots
Mongoose · 首页
Deployment
npm
适用于已安装 Node.js 与 MongoDB、希望使用 Node.js 默认生态包管理器在应用中引入 Mongoose 的项目。
pnpm
适用于采用 pnpm 管理依赖、需要更快安装与节省磁盘空间的 Node.js 项目。
Yarn
适用于团队既有工作流基于 Yarn、希望通过 Yarn 将 Mongoose 加入 Node.js 应用的项目。
Bun
适用于使用 Bun 作为 JavaScript 运行时或包管理器、希望通过 Bun 安装 Mongoose 的项目。
Deno
适用于在 Deno 环境中以 alpha 支持方式运行 Mongoose,并按需授予网络、读取、系统与环境变量权限的实验性场景。
Details
Type Open-source software
License MIT
GitHub Stars 27,479
Last commit 3 周前
Last verified 2026-07-18
Ad slot 300 × 250 Ad
About the data
Stars / commit times sync automatically from the GitHub API; pricing and features are human-verified.
seeksvc
一个可查询的宝藏收藏库:开源与闭源软件、开发库与完整解决方案。
© 2026 seeksvc · Manually verified, continuously updated