rxjs-couchdb
Create a config file. E.g. db.js
db.js
const DB_HEADERS = 'Content-Type': 'application/json' 'Authorization': 'Basic am9zZTphbGZhMTM0Ng==' 'User-Agent': 'request' const db =
in other file
db // find function wraps the object you pass inside { selector : ... } to avoid selector bilerplate db // if you don't pass any arguments to find it will act like db.all() db 🡩🡩🡩 equals 🡫🡫🡫 dball
Support for all, find, put and bulk also. For bulk post you must pass an array of objects