I am facing difficulty in importing and using nano in my node application.
According to the documentation, the JavaScript way is:
var nano = require('nano')('http://localhost:5984');
How can I achieve this with TypeScript?
I attempted to do it like this:
import * as Nano from "nano";
let nano = new Nano('http://localhost:5984');
However, I encounter the error message: "Nano is not an object."