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

restore-mongodb

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

restore-mongodb

A MongoDB adapter for reStore, a remoteStorage server.

  • 0.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

restore-mongodb

A MongoDB adapter for reStore, a remoteStorage server.

Status

Experimental, not well tested.

How to use it

The following Node script will run a basic server:

var reStore, MongoDbStore, store, server;

reStore = require("restore");
MongoDbStore = require("restore-mongodb");

store = new MongoDbStore({
    host: "localhost",    // default: localhost
    port: 27017,          // default: 27017
    database: "restore",  // default: restore
    username: "john",     // optional
    password: "12345"     // optional
});

server = new reStore({
    store: store,
    http: {
        port: 8000
    }
});

server.boot();

How to run the tests

  • Start MongoDB
  • git submodule update --init
  • npm install
  • npm test

FAQs

Package last updated on 06 Nov 2013

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