To use Couchdb-connection run npm i Couchdb-connection -g.
Couchdb-connection is a package which makes use use of couchdb, express and nano.
In the new directory the file.js will make a web server that runs on http://localhost:3001 created by express.
Nano is used to talk to the database and perform actions such as CRUD actions.
TO run the file 'cd Couchdb-connection and run node file.js or if you have nodemon then nodemon file.js'.
if you want to change the port the server listens to then change const port to the desired number.
And for the Coudb database change the const db to the name of your database.
Express docs - https://www.npmjs.com/package/express
Nano docs - https://www.npmjs.com/package/nano