db-plumbing-rest

0.1.5 • Public • Published

Software Plumbers DB Plumbing (REST)

REST document store

Tl;DR

let store = new Store('https://mystore.softwareplumbers.net/objects', Object, object=>object.key);

store.update({ key: 1, a: "hello", b: "sailor"});

value=store.find(1);

and value should be {key:1, a:"hello", b:"sailor"}

The store supports remove, find by criteria, and remove by criteria operations. It also supports a bulked update operation based on the typed-patch library.

db-plumbing-rest provides a simple client to services provided by db-plumbing-rest-server. db-plumbing-rest-server exposes services provided by db-plubming-mongo or db-plumbing-map. (Other back-end modules are planned).

For the latest API documentation see The Software Plumbers Site

Package Sidebar

Install

npm i db-plumbing-rest

Weekly Downloads

0

Version

0.1.5

License

SEE LICENSE IN LICENSE

Last publish

Collaborators

  • softwareplumber