2.0.0 • Published 5 years ago

osm-p2p-mem v2.0.0

Weekly downloads
3
License
ISC
Repository
github
Last release
5 years ago

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