0.4.0 • Published 7 months ago

@stash-it/memory-adapter v0.4.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months ago

@stash-it/memory-adapter

logo-stash-it-color-dark 2x

@stash-it/memory-adapter is a simple in-memory adapter that can be used with @stash-it/stash-it.

Installation

npm

npm install @stash-it/memory-adapter

deno

deno add @stash-it/memory-adapter

yarn

yarn dlx jsr add @stash-it/memory-adapter

pnpm

pnpm dlx jsr add @stash-it/memory-adapter

bun

bunx jsr add @stash-it/memory-adapter

Usage

// Import stash-it main class.
import { StashIt } from "@stash-it/stash-it";
import { MemoryAdapter } from "@stash-it/memory-adapter";

// Create an instance of the adapter.
const adapter = new MemoryAdapter();

// And use it with stash-it.
const stash = new StashIt(adapter);

License

MIT

Contribution

Feel free to open an issue or a pull request.

0.3.0

8 months ago

0.2.1

8 months ago

0.4.0

7 months ago

0.2.0

10 months ago

0.1.0

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago

0.0.0-beta-2

11 months ago

0.0.0-beta-1

12 months ago