Package Exports
- @stash-it/memory-adapter
Readme
@stash-it/memory-adapter

@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-adapterdeno
deno add @stash-it/memory-adapteryarn
yarn dlx jsr add @stash-it/memory-adapterpnpm
pnpm dlx jsr add @stash-it/memory-adapterbun
bunx jsr add @stash-it/memory-adapterUsage
// 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.