{"name":"unstorage","version":"2.0.0-alpha.10","license":"MIT","_id":"unstorage@2.0.0-alpha.10","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://unstorage.unjs.io","bugs":{"url":"https://github.com/unjs/unstorage/issues"},"dist":{"shasum":"947ba3e0396747d7b897cbcd604649f979da36d2","tarball":"http://registry-npm.ywwl.com/unstorage/download/unstorage-2.0.0-alpha.10.tgz","fileCount":87,"integrity":"sha512-6h1veZp8gnp4dGllf0tDijoXxDYymJu251IpKKkrSVH+QHL6tXFbwG85KM+CBHSgpkkgtPuIiZ9oLCLP5+1Evw==","signatures":[{"sig":"MEYCIQDwjxssHSSpgmiGVxQg51MAEEE7zP7kUWiHHONSmQzRqAIhANTRukK3KzMPdbKe2Qzt7B7o9B2OhidN+hbQsI1Q/I5c","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIHf3as3QCa6H1Nd3EpeuyWXU3qMr3SZrOfb6bUs5lG4bAiBIS+auEjsw4dwYXWRqpEduwyl1WeRncBWQ9ScoQawS8g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":175479,"size":41103,"noattachment":false,"key":"/unstorage/-/unstorage-2.0.0-alpha.10.tgz"},"main":"./dist/index.mjs","type":"module","types":"./dist/index.d.mts","exports":{".":"./dist/index.mjs","./server":"./dist/server.mjs","./tracing":{"types":"./dist/tracing.d.mts","default":"./dist/tracing.mjs"},"./drivers/*":"./dist/drivers/*.mjs"},"scripts":{"dev":"vitest","fmt":"oxlint . --fix && oxfmt .","lint":"oxlint . && oxfmt --check .","test":"pnpm lint && pnpm test:types && vitest run --coverage","bench":"node test/server.bench.ts","build":"pnpm gen-drivers && obuild","prepack":"pnpm build","release":"pnpm test && pnpm build && changelogen --prerelease --release && pnpm publish --tag alpha","test:types":"tsc --noEmit --skipLibCheck","gen-drivers":"node scripts/gen-drivers.ts"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/unstorage.git","type":"git"},"_npmVersion":"12.0.2","description":"Universal Storage Layer","directories":{},"sideEffects":false,"_nodeVersion":"24.20.0","ackageManager":"pnpm@11.22.0","_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"db0":"^0.3.4","mlly":"^1.8.2","srvx":"^0.12.5","vite":"^8.2.1","citty":"^0.2.2","destr":"^2.0.5","jsdom":"^30.0.1","oxfmt":"^0.64.0","scule":"^1.3.0","mitata":"^1.0.34","obuild":"^0.4.38","ofetch":"^1.5.1","oxlint":"^1.79.0","vitest":"^4.1.11","azurite":"^3.36.0","ioredis":"^6.0.0","mongodb":"^7.5.0","@deno/kv":"^0.14.0","chokidar":"^5.0.0","wrangler":"^4.124.0","aws4fetch":"^1.0.20","lru-cache":"^11.5.2","idb-keyval":"^6.3.0","typescript":"^7.0.2","@types/deno":"^2.7.0","@types/node":"^26.2.0","changelogen":"^0.6.2","uploadthing":"^7.7.4","@types/jsdom":"^30.0.0","@vercel/blob":"^2.8.0","ioredis-mock":"^8.13.1","@azure/cosmos":"^4.10.0","@libsql/client":"^0.17.4","@netlify/blobs":"^11","@upstash/redis":"^1.38.2","fake-indexeddb":"^6.2.5","@azure/identity":"^4.13.2","get-port-please":"^3.2.0","@vercel/functions":"^3.9.3","@azure/data-tables":"^13.3.2","eslint-config-unjs":"^0.6.2","@azure/storage-blob":"^12.33.0","@types/ioredis-mock":"^8.2.8","@vitest/coverage-v8":"^4.1.11","@electric-sql/pglite":"^0.5.5","@planetscale/database":"^1.20.1","mongodb-memory-server":"^11.2.0","@capacitor/preferences":"^8.0.1","@azure/keyvault-secrets":"^4.11.2","@azure/app-configuration":"^1.12.1","@cloudflare/workers-types":"^5.20260819.1"},"_npmOperationalInternal":{"tmp":"tmp/unstorage_2.0.0-alpha.10_1788474346579_0.9033630122542682","host":"s3://npm-registry-packages-npm-production"},"readme":"# 💾 Unstorage\n\n[![npm version][npm-version-src]][npm-version-href]\n[![npm downloads][npm-downloads-src]][npm-downloads-href]\n[![Codecov][codecov-src]][codecov-href]\n[![bundle][bundle-src]][bundle-href]\n[![License][license-src]][license-href]\n\n<!--[![Github Actions][github-actions-src]][github-actions-href]-->\n\nUnstorage 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](https://bundlephobia.com/package/unstorage).\n\n👉 [Documentation](https://unstorage.unjs.io)\n\n## Features\n\n- Designed for all environments: Browser, NodeJS, and Workers\n- Lots of Built-in drivers\n- Asynchronous API\n- Unix-style driver mounting to combine storages\n- Default [in-memory](https://unstorage.unjs.io/drivers/memory) storage\n- Tree-shakable utils and tiny core\n- Auto JSON value serialization and deserialization\n- Binary and raw value support\n- State [snapshots](https://unstorage.unjs.io/getting-started/utils#snapshots) and hydration\n- Storage watcher\n- HTTP Storage with [built-in server](https://unstorage.unjs.io/guide/http-server)\n\n## Usage\n\nInstall `unstorage` npm package:\n\n```sh\n# yarn\nyarn add unstorage\n\n# npm\nnpm install unstorage\n\n# pnpm\npnpm add unstorage\n```\n\n```js\nimport { createStorage } from \"unstorage\";\n\nconst storage = createStorage(/* opts */);\n\nawait storage.getItem(\"foo:bar\"); // or storage.getItem('/foo/bar')\n```\n\n👉 Check out the [the documentation](https://unstorage.unjs.io) for usage information.\n\n## Nightly release channel\n\nYou can use the nightly release channel to try the latest changes in the `main` branch via [`unstorage-nightly`](https://www.npmjs.com/package/unstorage-nightly).\n\nIf directly using `unstorage` in your project:\n\n```json\n{\n  \"devDependencies\": {\n    \"unstorage\": \"npm:unstorage-nightly\"\n  }\n}\n```\n\nIf using `unstorage` via another tool in your project:\n\n```json\n{\n  \"resolutions\": {\n    \"unstorage\": \"npm:unstorage-nightly\"\n  }\n}\n```\n\n## Contribution\n\n- Clone repository\n- Install dependencies with `pnpm install`\n- Use `pnpm dev` to start vitest watcher verifying changes\n- Use `pnpm test` before pushing to ensure all tests and lint checks passing\n\n## License\n\n[MIT](./LICENSE)\n\n<!-- Badges -->\n\n[npm-version-src]: https://img.shields.io/npm/v/unstorage?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-version-href]: https://npmjs.com/package/unstorage\n[npm-downloads-src]: https://img.shields.io/npm/dm/unstorage?style=flat&colorA=18181B&colorB=F0DB4F\n[npm-downloads-href]: https://npmjs.com/package/unstorage\n[github-actions-src]: https://img.shields.io/github/workflow/status/unjs/unstorage/ci/main?style=flat&colorA=18181B&colorB=F0DB4F\n[github-actions-href]: https://github.com/unjs/unstorage/actions?query=workflow%3Aci\n[codecov-src]: https://img.shields.io/codecov/c/gh/unjs/unstorage/main?style=flat&colorA=18181B&colorB=F0DB4F\n[codecov-href]: https://codecov.io/gh/unjs/unstorage\n[bundle-src]: https://img.shields.io/bundlephobia/minzip/unstorage?style=flat&colorA=18181B&colorB=F0DB4F\n[bundle-href]: https://bundlephobia.com/result?p=unstorage\n[license-src]: https://img.shields.io/github/license/unjs/unstorage.svg?style=flat&colorA=18181B&colorB=F0DB4F\n[license-href]: https://github.com/unjs/unstorage/blob/main/LICENSE\n","publish_time":1788474346671,"_cnpm_publish_time":1788474346671,"dist-tags":{"2x":"0.2.10","3x":"0.3.4","4x":"0.4.2","alpha":"2.0.0-alpha.11","latest":"2.0.0-beta.0"}}