{"name":"unstorage","version":"0.1.6","license":"MIT","_id":"unstorage@0.1.6","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjsio/unstorage#readme","bugs":{"url":"https://github.com/unjsio/unstorage/issues"},"bin":{"unstorage":"dist/cli.js"},"dist":{"shasum":"29b6ade8071eb312115544657ee36b9de058d58d","tarball":"http://registry-npm.ywwl.com/unstorage/download/unstorage-0.1.6.tgz","fileCount":24,"integrity":"sha512-AqPaH5sVw9KJWCTuiclCVss62IHR8qjJJHUKXNAGhVbc018UF7C4leTF0ICuM1L5pga91aRYUdK+wF9pFzxBDQ==","signatures":[{"sig":"MEYCIQCUUqX/gxjzpsnGLxvqa0jq4mkxA1bkRwGtrv0FTH+8uQIhAK1M7qYBdV00hClNHd8GLXq/dCnvmQHMn/O7+/3yBWeA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56159,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq4/XCRA9TVsSAnZWagAAViYP/19p6P5nx32dydx3XSEy\n6IB6rxQUGursGD+kW5R+z3lHAKL0BkuJPYz2DZJ/NciiOWS12LlXxrq6xyDQ\neoS3bFMC+6/1QQ/aKyB91wNZkrdfKyh17W29SsFjDiUDvtm+MLf01YVneYvs\n1sOYQrrT3PeSjAek8XWCN2e7z47loOcTEZFqF52y6OPHhFeR6blIj1LYwAvI\nqrJcho0N/+BbKRZ0wIhzHz9aWDkQqudRO8Ev/Qf2JGTU058XJ5W4I33KA1jI\n0Y4Ejz8dUGdEFHRuixrME4WrpwFiQK7T8II5kwVsBDuW8Z75zQk20OsOpTB5\ndqZ3T7NBowijxRZMDIHjE32A8ukZkE3Pn91mdjOdnpVh3xFV4DXsQFgIgSOD\nWS2yR7CD5aW+L7pczHy7lztHswolOr695Z3mxDUgnfgaXtbNRPvBcBYltkLN\nelyjD1YwkFY6Sot2OlvKyc5LVJFFIoH2Rou78AMyBpkhThpI1JPOz2/+wLP2\n3eMHLXv1UBjbijfZiRLXebh5ZlFcIrzMgFHFE/e7WsOR8FPbW4AEdk9C/nwc\ncApkjZGNx3dMvtRfetoAshmm/JZv3wy7cawQhUfyLuuup+k46D9I0+GV8Bzo\nY1JtMCXR48E2ygCR2cFc+l2JaXPvof7f/ERzbikyMHpBhh0oVDktN5g/KBcu\nj4K8\r\n=4DB5\r\n-----END PGP SIGNATURE-----\r\n","size":11439,"noattachment":false,"key":"/unstorage/-/unstorage-0.1.6.tgz"},"main":"./dist/unstorage.js","types":"./dist/unstorage.d.ts","module":"./dist/unstorage.mjs","exports":{".":{"import":"./dist/unstorage.mjs","require":"./dist/unstorage.js"},"./":"./","./server":{"import":"./server.mjs","require":"./server.js"}},"gitHead":"05037ecabb3b45c1aeb416263060ae2d142d4431","scripts":{"dev":"jest --watch","demo":"vite demo","lint":"eslint --ext .ts .","test":"yarn lint && jest","build":"siroc build && mkdist --src src/drivers --dist drivers --format cjs -d","start":"node server.js","doctoc":"doctoc README.md --notitle --maxlevel 3","release":"yarn test && standard-version && git push --follow-tags && npm publish","unstorage":"yarn jiti src/cli","prepublishOnly":"yarn build"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjsio/unstorage.git","type":"git"},"_npmVersion":"7.12.1","description":"[![npm version][npm-version-src]][npm-version-href] [![npm downloads][npm-downloads-src]][npm-downloads-href] [![Github Actions][github-actions-src]][github-actions-href] [![Codecov][codecov-src]][codecov-href] [![bundle][bundle-src]][bundle-href]","directories":{},"sideEffects":false,"_nodeVersion":"14.16.1","dependencies":{"h3":"^0.2.5","ws":"^7.4.4","mri":"^1.1.6","ufo":"^0.6.10","ioredis":"^4.26.0","listhen":"^0.1.4","anymatch":"^3.1.1","chokidar":"^3.5.1","ohmyfetch":"^0.1.8"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.5","jest":"latest","jiti":"latest","vite":"latest","destr":"latest","jsdom":"latest","siroc":"latest","doctoc":"latest","eslint":"latest","mkdist":"latest","ts-jest":"latest","@types/ws":"latest","@types/mri":"latest","typescript":"latest","@types/jest":"latest","@types/node":"latest","@types/jsdom":"latest","monaco-editor":"latest","@types/ioredis":"latest","standard-version":"latest","@vue/compiler-sfc":"latest","@vitejs/plugin-vue":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/unstorage_0.1.6_1621856215493_0.6995387031786853","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":1621856215655,"_cnpm_publish_time":1621856215655,"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"}}