pouchdb-upsert : PouchDB upsert and putIfNotExists functions. You can installing pouchdb-upsert npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install pouchdb-upsert $ sudo npm install -g pouchdb-upsert
If want to update the pouchdb-upsert package execute the command as below,
$ sudo npm update pouchdb-upsert
Update package globally,
$ npm install -g pouchdb-upsert
$ sudo git clone https://github.com/rektide/pouchdb-upsert.git
$ sudo npm install -g ./pouchdb-upsert
pouchdb-upsert@2.2.0 /usr/lib/node_modules/pouchdb-upsert
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall pouchdb-upsert
| Package Name | pouchdb-upsert |
| Version | 2.2.0 |
| Description | PouchDB upsert and putIfNotExists functions |
| Released Date | 2017-03-21T16:30:36.483Z |
| Published by | nolanlawson |
| How to Learn | https://www.npmjs.com/package/pouchdb-upsert/tutorial |