# @types/pouchdb-adapter-idb

> TypeScript definitions for pouchdb-adapter-idb

Latest version **6.1.7** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/pouchdb-adapter-idb
pnpm add @types/pouchdb-adapter-idb
yarn add @types/pouchdb-adapter-idb
bun add @types/pouchdb-adapter-idb
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 6.1.7 |
| Published | 2023-11-07 |
| First published | 2016-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51441 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/pouchdb-adapter-idb
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb
- npm.io page: https://npm.io/package/@types/pouchdb-adapter-idb

## Dependencies (1)

- [@types/pouchdb-core](https://npm.io/package/@types/pouchdb-core.md) *

## Recent versions

- 6.1.7 (latest) — 2023-11-07
- 6.1.4 (ts3.6) — 2021-07-08
- 6.1.3 (ts2.3) — 2019-02-13
- 6.1.0 (ts2.0) — 2017-04-18
- 6.1.6 — 2023-10-18
- 6.1.5 — 2023-09-24
- 6.1.2 — 2017-12-14
- 6.1.1 — 2017-06-15
- 5.4.4 — 2016-09-19
- 5.4.3 — 2016-08-25
- 5.4.2 — 2016-08-19
- 5.4.1 — 2016-08-02

## README

# Installation
> `npm install --save @types/pouchdb-adapter-idb`

# Summary
This package contains type definitions for pouchdb-adapter-idb (https://pouchdb.com/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-idb/index.d.ts)
````ts
/// <reference types="pouchdb-core" />

declare namespace PouchDB {
    namespace Core {
        interface DatabaseInfo {
            idb_attachment_format?: "base64" | "binary" | undefined;
        }
    }

    namespace IdbAdapter {
        interface IdbAdapterConfiguration extends Configuration.LocalDatabaseConfiguration {
            /**
             * Configures storage persistence.
             *
             * Only works in Firefox 26+.
             */
            storage?: "persistent" | "temporary" | undefined;
            adapter: "idb";
        }
    }

    interface Static {
        new<Content extends {}>(name: string | null, options: IdbAdapter.IdbAdapterConfiguration): Database<Content>;
    }
}

declare module "pouchdb-adapter-idb" {
    const plugin: PouchDB.Plugin;
    export = plugin;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: [@types/pouchdb-core](https://npmjs.com/package/@types/pouchdb-core)

# Credits
These definitions were written by [Simon Paulger](https://github.com/spaulg), [Brian Geppert](https://github.com/geppy), and [Frederico Galvão](https://github.com/fredgalvao).

---
_Source: https://npm.io/package/@types/pouchdb-adapter-idb · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
