{"name":"unstorage","version":"0.5.3","license":"MIT","_id":"unstorage@0.5.3","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/unstorage#readme","bugs":{"url":"https://github.com/unjs/unstorage/issues"},"dist":{"shasum":"1982a6745540f8394597a91d42a2f74a13d127cb","tarball":"http://registry-npm.ywwl.com/unstorage/download/unstorage-0.5.3.tgz","fileCount":45,"integrity":"sha512-NbdbNgZ6Sq6isG+E0bP29YnwkJBJflwR3SUkcizPRiVS5dgc7nUxKaWa/Mp3oEEq6Pjxzj0HxKjjnRvfALKzeA==","signatures":[{"sig":"MEYCIQDYmLrwYbyk/9yaV343BzKPuXDw411+q0rd+7ItJyr6wQIhAIo7zs2onx48bWqnvJvsjI6ui9gwyaBjbytD6qwHv15A","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":89472,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJivHkNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpnyxAAi3znGK1Xkp6vmkPBoY11YDgLqql/P6wsjOwubRncDAz96cD2\r\n9AYc2svnwOVAa1X8LA/WWle0kpnNUZT/LB42i+YzlEPOZF8sP1neCR/GwkcX\r\nCkiTQvZgt8shGyViYPBo97BMscquQDpcvTMizn9D6g1NoR04+0G/hzcOZQZv\r\nUVGbrZadUZbwUvfXWXpxI6nuNToHKymtZhsL/Z7HGIzNiAPKikNrL1U5QT2w\r\nSCm0+iVnFs5Flj8bF47HZhklCHdsfFUT8j2cqWhxLd+y+qUmcFSJNQsr6ci7\r\nDq9dIt4bMYcEbQSuH/I34nK2gZfejYzIUVbclKVBQetXGKP+y6Oo5ZhY+Xqk\r\nbenu7pRL1NhfhbF/fO5KgVlQxflr/Z707ZiQt906QGH15SPypK2xOXTkRHPe\r\nPjE3RWwD0qCXT59eZLzg5s+76MYGl9+kotsA8zo/Angbk5ZIUoDzDXwXMAIq\r\nKtXHpwMEwezfzUYD/FZsUIkZKDWwxjAg8ut/KWRN4cyurAfvdh0kR6Q8OFRs\r\nCXwtbM0EnI3jI8T6gSL8tI278crzgid3CnBg50JidmOlE/4vxthmzzJah1WX\r\ne8+GEKTMD3K4wquKMMgHTyUPrcok2GhR0oyZ08xKnEd8AZdwI9ysHwoJQk8I\r\nxfHCooYFyIz3CKhspiB2HditfoXU00bcJe4=\r\n=ZJXA\r\n-----END PGP SIGNATURE-----\r\n","size":23957,"noattachment":false,"key":"/unstorage/-/unstorage-0.5.3.tgz"},"main":"./dist/index.cjs","_from":"file:unstorage-0.5.3.tgz","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.cjs"},"./server":{"types":"./dist/server.d.ts","import":"./dist/server.mjs","require":"./dist/server.cjs"},"./drivers/*":{"types":"./dist/drivers/*.d.ts","import":"./dist/drivers/*.mjs","require":"./dist/drivers/*.cjs"}},"scripts":{"dev":"vitest","demo":"vite demo","lint":"eslint --ext .ts .","test":"pnpm lint && vitest run","build":"unbuild","doctoc":"doctoc README.md --notitle --maxlevel 3","release":"pnpm test && standard-version && git push --follow-tags && pnpm publish","unstorage":"pnpm jiti src/cli"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"_resolved":"/tmp/948c20eb1493e2b3ba9ded487fb12fef/unstorage-0.5.3.tgz","_integrity":"sha512-NbdbNgZ6Sq6isG+E0bP29YnwkJBJflwR3SUkcizPRiVS5dgc7nUxKaWa/Mp3oEEq6Pjxzj0HxKjjnRvfALKzeA==","repository":{"url":"git+https://github.com/unjs/unstorage.git","type":"git"},"_npmVersion":"8.5.5","description":"Universal Storage Layer","directories":{},"sideEffects":false,"_nodeVersion":"16.15.0","dependencies":{"h3":"^0.7.10","ws":"^8.8.0","mri":"^1.2.0","ufo":"^0.8.4","destr":"^1.1.1","ioredis":"^5.1.0","listhen":"^0.2.13","anymatch":"^3.1.2","chokidar":"^3.5.3","ohmyfetch":"^0.4.18"},"_hasShrinkwrap":false,"packageManager":"pnpm@7.4.0","devDependencies":{"c8":"^7.11.3","msw":"^0.42.3","vue":"^3.2.37","jiti":"latest","vite":"latest","jsdom":"latest","doctoc":"latest","eslint":"latest","mkdist":"latest","vitest":"^0.16.0","unbuild":"latest","@types/ws":"latest","@types/mri":"latest","typescript":"latest","@types/node":"latest","@types/jsdom":"latest","monaco-editor":"latest","@types/ioredis":"latest","standard-version":"latest","@vue/compiler-sfc":"latest","@vitejs/plugin-vue":"latest","types-cloudflare-worker":"^1.2.0","@cloudflare/workers-types":"^3.13.0","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/unstorage_0.5.3_1656518925212_0.5564348683844391","host":"s3://npm-registry-packages"},"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":1656518925348,"_cnpm_publish_time":1656518925348,"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"}}