# @types/quick-store

> TypeScript definitions for quick-store

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

## Install

```sh
npm install @types/quick-store
pnpm add @types/quick-store
yarn add @types/quick-store
bun add @types/quick-store
```

## 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; pre 1.0.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 0.1.3 |
| Published | 2023-11-07 |
| First published | 2021-10-03 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51438 |
| Maintainers | types |

## Links

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

## Recent versions

- 0.1.3 (latest) — 2023-11-07
- 0.1.1 (ts4.4) — 2023-08-30
- 0.1.0 (ts3.8) — 2021-10-03
- 0.1.2 — 2023-10-18

## README

# Installation
> `npm install --save @types/quick-store`

# Summary
This package contains type definitions for quick-store (https://www.npmjs.com/package/quick-store (repository is deleted)).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/quick-store.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/quick-store/index.d.ts)
````ts
export = QuickStore;

interface DatabaseContents {
    [key: string]: Value;
}
type Value = string | number | DatabaseContents | Value[] | boolean | null;
type Callback<Value> = (data: Value) => void;

declare function QuickStore(filename?: string, data?: DatabaseContents): QuickStore.Database;

declare namespace QuickStore {
    interface Database {
        put(data: DatabaseContents, callback?: Callback<DatabaseContents>): void;
        setItem(key: string, value: Value, callback?: Callback<DatabaseContents>): void;
        getItem(key: string, callback: Callback<Value>): void;
        removeItem(key: string, callback?: Callback<DatabaseContents>): void;
        clear(callback?: Callback<DatabaseContents>): void;
        get(callback: Callback<DatabaseContents>): void;
        get(): DatabaseContents;
        change(filename: string): void;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Glenn](https://github.com/promise).

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