mongoosejs.com Open in urlscan Pro
2606:50c0:8003::153  Public Scan

Submitted URL: http://mongoosejs.com/
Effective URL: https://mongoosejs.com/
Submission: On June 13 via api from US — Scanned from DE

Form analysis 0 forms found in the DOM

Text Content

Fork me on GitHub
MONGOOSE

Elegant MongoDB object modeling for Node.js

 * Read the Docs
 * Discover Plugins

 * 
 * Version 8.4.1
 * 

Let's face it, writing MongoDB validation, casting and business logic
boilerplate is a drag. That's why we wrote Mongoose.

const mongoose = require('mongoose');
mongoose.connect('mongodb://127.0.0.1:27017/test');

const Cat = mongoose.model('Cat', { name: String });

const kitty = new Cat({ name: 'Zildjian' });
kitty.save().then(() => console.log('meow'));


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.

Get Professionally Supported Mongoose
Your new development career awaits. Check out the latest listings. ads via
Carbon


GETTING STARTED

 * quick start guide


SUPPORT

 * Stack Overflow
 * GitHub Issues
 * MongoDB Support


NEWS

 * Twitter


CHANGELOG

 * Changelog


GITHUB SPONSORS




SPONSORS



Sponsor Mongoose on OpenCollective to get your company's logo above!

Licensed under MIT.