@types/pouchdb-node
TypeScript icon, indicating that this package has built-in type declarations

6.1.7 • Public • Published

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

Credits

These definitions were written by Simon Paulger, Brian Geppert, and Frederico Galvão.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/pouchdb-node

Weekly Downloads

22,100

Version

6.1.7

License

MIT

Unpacked Size

4.66 kB

Total Files

5

Last publish

Collaborators

  • types