New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

mongro

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongro

quick mongodb RESTful API

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

mongro

quick mongodb RESTful API

usage (will add more if there is interest):

run with node ./lib/server --express.port=[port]

use any method for these endpoints:

/db/:db_name/collection/:collection_name/method/:method.json

method corresponds with any of the following from the Node.js MongoDB driver:

  • find
  • findOne
  • findOneAndUpdate
  • findOneAndReplace
  • findOneAndRemove
  • deleteOne
  • deleteMany
  • insertOne
  • insertMany
  • updateOne
  • updateMany

pass options to the request query or body (body is better as it will probably cast options to their appropriate type)

License

Copyright (c) 2016 Ben Sack
Licensed under the MIT license.

FAQs

Package last updated on 04 Jul 2016

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