Installation
npm install --save @types/pouchdb-node
Summary
This package contains type definitions for pouchdb-node (https://pouchdb.com/).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-node.
index.d.ts
/// <reference types="pouchdb-core" />
/// <reference types="pouchdb-adapter-leveldb" />
/// <reference types="pouchdb-adapter-http" />
/// <reference types="pouchdb-mapreduce" />
/// <reference types="pouchdb-replication" />
declare namespace PouchDB {
namespace Core {
interface DatabaseInfo {
/** The backend *DOWN adapter being used (MemDOWN, RiakDOWN, …). */
backend_adapter?: string | undefined;
}
}
}
declare module "pouchdb-node" {
const PouchDb: PouchDB.Static;
export = PouchDb;
}
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/pouchdb-adapter-http, @types/pouchdb-adapter-leveldb, @types/pouchdb-core, @types/pouchdb-mapreduce, @types/pouchdb-replication
Credits
These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.