Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

deep-mongo

Package Overview
Dependencies
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

deep-mongo

mongodb driver (store) for deepjs

  • 0.6.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
2
Weekly downloads
 
Created
Source

deep-mongo

deep-mongo provides a restful styled mongodb store usable with deepjs. By other, it make mongodb queriable with RQL (https://github.com/persvr/rql).

See deep-restful for full API description.

Install

	npm install deep-mongo

Usage


	var deep = require("deepjs"); // load core
	require("deep-restful"); // load chained API
	require("deep-mongo"); // load driver

	deep.Mongo("items", "mongodb://127.0.0.1:27017/test", "items");

	//...

	deep.restful("items")
	.post({ something:"yes"})
	.slog()
	.put({
		hello:"putted object",
		test:12
	})
	.slog()
	.patch({
		hello:"patched object",
	})
	.slog()
	.get() // get all
	.log();

see testcases for full usage.

FAQs

Package last updated on 21 Sep 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc