{"name":"unstorage","version":"0.0.2","license":"MIT","_id":"unstorage@0.0.2","maintainers":[{"name":"pi0","email":"pyapar@gmail.com"}],"homepage":"https://github.com/unjsio/unstorage#readme","bugs":{"url":"https://github.com/unjsio/unstorage/issues"},"dist":{"shasum":"23fa466b8825721daea9c4b417e1cbb20ece5403","tarball":"http://registry-npm.ywwl.com/unstorage/download/unstorage-0.0.2.tgz","fileCount":12,"integrity":"sha512-FFG9WOZZpG1aBtrXGfX0q5xIE0Iq3Fy8jghmQBZwN5DsaqkExCbx4q8RZBYazcM8IvoARIN6o8fJUiT4ia0aSw==","signatures":[{"sig":"MEYCIQCvkYJvg5O0kjq8C3t1e8ABDuhhTG1WLzJqmZYakCNZiQIhAPsVZWKp/ezuVfm/GFzmbXNywJQfP9vdA2eYR3nT4U1C","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":32926,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgSnwNCRA9TVsSAnZWagAARNYQAIoKt2cATj4+SqTNPY5w\ndI47Hn4g/wvW4NLfwaXfgGH5nIilsMHByPwqtwzlUWsujPSKffjtnYKLsy6I\nDF0DVAUeezCUvBKOA8HlVHVJm0MSDcYG3cUqStDRYonImAyYLnJQkkwKwtPC\nUns7qDAF1HBUqqQ1IC/y3mkSzokOY1KLeoj56VzZuo+4MhhotKcblZ3uCIRO\nDMvB9JJ85bm6oRoSzxdB76z/scC8nz/m8zS1JUk2loXKOeukbYCu7KAKCjgj\njvfCmUSO9hddKBlwo3kaDGQCrQiC1G5A3tSNsy8poUQHY7DHgyFR3Biw5zhE\nt0PngvyehaNae+1tTwPUEp46RUAfL0gaBSXobKGkNVaEcXsEPSYaOCUOKCX7\nFHLu1Ig9VjIDkxXcalg6I8dot6ZpzRmz/Mp2oDxaAYSCC+x+P0zLxPVerCoR\n7n4kpztidvXCsMYQb/kMzuqSL988bgqyLAXmx5MAY6q908iSk4is6U83BM1z\n2GAV9mfTsyGUfPm5K8SXUFOvgL8RsRMRFTXrq+3WqLJKFbE5PAhJpJ9+THy+\nwzhzHYn3C//7Km3Z/sQgk6UGAlgdVIzBq0FVvdhQjkQQOk6c56dVKOyQKWSI\n01qx44R/OBR+BolhnlvFusiDepuJ8DOx8gC3zMzgaNjeSqv5d6TUz3cVR1nU\n7TrD\r\n=MaoI\r\n-----END PGP SIGNATURE-----\r\n","size":8533,"noattachment":false,"key":"/unstorage/-/unstorage-0.0.2.tgz"},"main":"./dist/index.js","types":"./dist/index.d.ts","module":"./dist/index.mjs","gitHead":"a1746647bff52f3143e0bf107da3e2b40239a150","scripts":{"dev":"jest --watch","lint":"eslint --ext .ts .","test":"yarn lint && jest","build":"siroc build && mkdist --src src/drivers --dist drivers","doctoc":"doctoc README.md --notitle","release":"yarn test && standard-version && git push --follow-tags && npm publish","prepublishOnly":"yarn build"},"_npmUser":{"name":"pi0","email":"pyapar@gmail.com"},"repository":{"url":"git+https://github.com/unjsio/unstorage.git","type":"git"},"_npmVersion":"6.14.11","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.0","dependencies":{"ufo":"^0.6.10","chokidar":"^3.5.1","ohmyfetch":"^0.1.8"},"_hasShrinkwrap":false,"devDependencies":{"jest":"latest","jiti":"latest","vite":"^2.0.5","destr":"^1.1.0","jsdom":"^16.4.0","siroc":"latest","doctoc":"^2.0.0","eslint":"latest","mkdist":"^0.1.2","listhen":"^0.1.4","ts-jest":"latest","typescript":"latest","@types/jest":"latest","@types/node":"latest","@types/jsdom":"^16.2.6","standard-version":"latest","@nuxtjs/eslint-config-typescript":"latest"},"_npmOperationalInternal":{"tmp":"tmp/unstorage_0.0.2_1615494156840_0.5808491495826293","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":1615494156976,"_cnpm_publish_time":1615494156976,"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"}}