# @types/pouchdb-adapter-websql

> TypeScript definitions for pouchdb-adapter-websql

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

## Install

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

## 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 | 51432 |
| Maintainers | types |

## Links

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

## 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-websql`

# Summary
This package contains type definitions for pouchdb-adapter-websql (https://pouchdb.com/).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-websql/index.d.ts)
````ts
/// <reference types="pouchdb-core" />

declare namespace PouchDB {
    namespace Core {
        interface DatabaseInfo {
            sqlite_plugin?: boolean | undefined;
            websql_encoding?: "UTF-8" | "UTF-16" | undefined;
        }
    }

    namespace AdapterWebSql {
        interface Configuration extends Configuration.LocalDatabaseConfiguration {
            /**
             * Amount in MB to request for storage.
             */
            size?: number | undefined;
            adapter: "websql";
        }
    }

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

declare module "pouchdb-adapter-websql" {
    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-websql · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
