Mangos
mango_js is now mangos
Mangos.js is a simple module to make MongoDB syntax CRUD. It uses and exposes controls straight from MongoDB's Native driver
Documentation in the code!
Install
npm install mangos
you can install it locally for development by doing this
git clone https://github.com/jacoblwe20/mango_js.gitcd ~/your_appnpm install ../mango_js
then in your code
// to includevar Mangos = ;//to usevar userSet = 'users' 'localhost' 27017;// or with a mongo urivar locations = 'locations' 'mongodb://admin:supersecret@cooldbs.io/yourdb';// Dont do this the code is not synchronoususerSet; userSet; userSet; userSet;
Not enough control... well you can still use the native driver
userSetdb// Mongo Db Native Driver ObjectuserSetdb;userSetdb