{"name":"unstorage","version":"0.2.7","license":"MIT","_id":"unstorage@0.2.7","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjs/unstorage#readme","bugs":{"url":"https://github.com/unjs/unstorage/issues"},"dist":{"shasum":"4fa7c070ac01cc2d630fac60bb0eb213501ce4d7","tarball":"http://registry-npm.ywwl.com/unstorage/download/unstorage-0.2.7.tgz","fileCount":37,"integrity":"sha512-D0iU6UMO/a93hFQPz/F/gU7/O48CbGbAyT9PDC12V6uV/vrsuum96hg+OpOQ1Ova/F3kvkZ//Em6Na97A5Oh+A==","signatures":[{"sig":"MEYCIQDNp76/Hc99OGBFuG4MFe1EWrg75BFdy5sPtMnTwhuvvwIhANsKdly/Nzw9Fge7/LfVQF/rS9aYFMm719gWjesE/e4y","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":70008,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhObXKCRA9TVsSAnZWagAA53sP/RPaDPA0k3eQC42bCdGp\nRsQu9vWD1tYHnkI6RFU+6ajbxvNrlVK0+/mTpwd6ypJI3MyG+XytQpClNigr\npV0IAzY7g8vQxfkK6zTcIDn6i1uW/bQJasslv8zmFDj0i8lr+wksSVEG396W\nvdIvE4aUgs/oWEXhOjKTXaOFCp0v+zjmpkZgQs5Pas2kUsy0dA9zk3jC3m1w\n5pawdZm2KMuJ11eHfIQjbNeAcN2FIOX6+1m502hv+SK8b5J+SSLzDr+oBt7l\nKs9QNq76GylObDS2nPrqyzre6OLErffKbAQzvS0+fHP8xhpfe6iP+j5JjXoX\nLGctnGWQGdx3DB2teKvkSP7ZQJm39kMA424m6WMUJnJoFjRAb3p2r2rNsmcq\nxMFD5DGe/9q6rWCTk6q8tkg7GJy9lMMxmZQHAbbWYZ/Kkr2yKRECcSl6EXGF\n7i2L66rTqJ2J4h+Lvc3yXzG4JBxXYrTZSCL7uLI7GAWsYFP1UTfgTe2UOLJG\nwqLDCHHB92ZDDoHcrtpVm+Uf1PKlzCrLefZiJMBUJuCJIOGDV7MX9gqiUG0B\nh22RXA/b6V8vbJ+EHM9vZYLvF8wbXgMnqknQvZnv7KV1Tc69tkxEJi3R59os\nWodMw1W4t6GfSChCP0WylVKbFVnv9Aj/sm3uCJQZUV9fNzD8+UoVf8FKrifV\nlb9N\r\n=3sLG\r\n-----END PGP SIGNATURE-----\r\n","size":18882,"noattachment":false,"key":"/unstorage/-/unstorage-0.2.7.tgz"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"import":"./dist/index.mjs","require":"./dist/index.js"},"./server":{"import":"./server.mjs","require":"./server.js"},"./drivers/*":{"import":"./drivers/*.mjs","require":"./drivers/*.js"}},"gitHead":"15fec29e9ca2291d49e1eb49b5b21a057f361d95","scripts":{"dev":"jest --watch","demo":"vite demo","lint":"eslint --ext .ts .","test":"yarn lint && jest","build":"unbuild","start":"node server.js","doctoc":"doctoc README.md --notitle --maxlevel 3","prepack":"yarn build","release":"yarn test && standard-version && git push --follow-tags && npm publish","unstorage":"yarn jiti src/cli"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjs/unstorage.git","type":"git"},"_npmVersion":"6.14.14","description":"Universal Storage Layer","directories":{},"sideEffects":false,"_nodeVersion":"14.17.5","dependencies":{"h3":"^0.2.10","ws":"^8.2.1","mri":"^1.1.6","ufo":"^0.7.9","destr":"^1.1.0","ioredis":"^4.27.9","listhen":"^0.2.4","anymatch":"^3.1.1","chokidar":"^3.5.2","ohmyfetch":"^0.3.1"},"_hasShrinkwrap":false,"devDependencies":{"vue":"^3.0.5","jest":"latest","jiti":"latest","vite":"latest","jsdom":"latest","doctoc":"latest","eslint":"latest","mkdist":"latest","ts-jest":"latest","unbuild":"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.2.7_1631172041832_0.4114173123752154","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":1631172042011,"_cnpm_publish_time":1631172042011,"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"}}