![]() | Name | Last modified | Size | Description |
---|---|---|---|---|
![]() | Parent Directory | - | ||
![]() | dist/ | a year ago | - | |
![]() | drivers/ | a year ago | - | |
![]() | node_modules/ | a year ago | - | |
![]() | LICENSE | a year ago | 1.1K | |
![]() | README.md | a year ago | 2.8K | 595aea1 more query options + view options [كارل مبارك] |
![]() | package.json | a year ago | 3.9K | afd0ccc remove unused [كارل مبارك] |
![]() | server.d.ts | a year ago | 31 |
Unstorage provides an async Key-Value storage API with conventional features like multi driver mounting, watching and working with metadata, dozens of built-in drivers and a tiny core.
Install unstorage
npm package:
# yarn
yarn add unstorage
# npm
npm install unstorage
# pnpm
pnpm add unstorage
import { createStorage } from "unstorage";
const storage = createStorage(/* opts */);
await storage.getItem("foo:bar"); // or storage.getItem('/foo/bar')
👉 Check out the the documentation for usage information.
pnpm install
pnpm dev
to start jest watcher verifying changespnpm test
before pushing to ensure all tests and lint checks passing