A set of PouchDB
service functions and a class version of them, with mongodb
style ObjectID
id's for all your documents.
-
Install the package via npm
npm install pouchdb-services
-
Require the services:
const { create, findById, findByIdAndDelete, findByIdAndUpdate, getAllDocuments, PouchDBService, } = require("pouchdb-services");
-
Clone this repository
-
Install the packages:
npm install
-
Run the example:
node example.js