osm-p2p-mem
Create an osm-p2p-db instance backed entirely by in-memory storage.
Last updated 2 years ago by noffle .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install osm-p2p-mem 
SYNC missed versions from official npm registry.

osm-p2p-mem

Create an osm-p2p-db instance backed entirely by in-memory storage.

Quick and easy! Each instance has no shared mutable global state. Great for use in unit tests.

Usage

var osmdb = require('osm-p2p-mem')

var osm = osmdb()

// ready to use! no async wait.

API

var osmdb = require('osm-p2p-mem')

var osm = osmdb()

No arguments. Creates a new osm-p2p-db instance.

Install

With npm installed, run

$ npm install osm-p2p-mem

See Also

License

ISC

Current Tags

  • 2.0.0                                ...           latest (2 years ago)

2 Versions

  • 2.0.0                                ...           2 years ago
  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (4)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |