{"name":"interface-pull-blob-store","version":"0.4.0","description":"Test suite for pull-blob-stores","main":"lib/index.js","jsnext:main":"src/index.js","scripts":{"lint":"aegir-lint","build":"aegir-build","test":"aegir-test","test:node":"aegir-test --env node","test:browser":"aegir-test --env browser","release":"aegir-release","release-minor":"aegir-release --type minor","release-major":"aegir-release --type major","coverage":"aegir-coverage","coverage-publish":"aegir-coverage publish"},"keywords":["pull-stream","blob store","streaming"],"author":{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},"license":"MIT","devDependencies":{"aegir":"^6.0.1"},"dependencies":{"chai":"^3.5.0","pull-stream":"^3.4.3","pull-write":"^1.0.2","run-series":"^1.1.4"},"bugs":{"url":"https://github.com/ipfs/interface-pull-blob-store/issues"},"homepage":"https://github.com/ipfs/interface-pull-blob-store","contributors":[{"name":"Friedel Ziegelmayer","email":"dignifiedquire@gmail.com"},{"name":"Richard Littauer","email":"richard.littauer@gmail.com"}],"repository":{"type":"git","url":"git+https://github.com/ipfs/interface-pull-blob-store.git"},"gitHead":"e731a9d6f288245cb7d3c00796a60c0c73086341","_id":"interface-pull-blob-store@0.4.0","_shasum":"5c721792a8ec8514013419d53460532c9b35b807","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"},"dist":{"shasum":"5c721792a8ec8514013419d53460532c9b35b807","tarball":"http://registry-npm.ywwl.com/interface-pull-blob-store/download/interface-pull-blob-store-0.4.0.tgz","integrity":"sha512-i6QW8rOnORDR4cLtApcbr+2G/AlqYYsDkIoWA24SqWeGV8YAP85wrTLZqvoQfJf6YIfwgzadr7TmSmzKPCIOxA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICTwLHCDh33KYj0yLyytKL4r1QlNtnUb+8NTeOQu6A6PAiAiaIRdGdjTmtXDVdjAy3D/gNernmYopDsBeyOmGtDXGA=="}],"size":298605,"noattachment":false,"key":"/interface-pull-blob-store/-/interface-pull-blob-store-0.4.0.tgz"},"maintainers":[{"name":"dignifiedquire","email":"dignifiedquire@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/interface-pull-blob-store-0.4.0.tgz_1471261292412_0.31713249953463674"},"readme":"# interface-pull-blob-store\n\n[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)\n[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)\n[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)\n[![Coverage Status](https://coveralls.io/repos/github/ipfs/interface-pull-blob-store/badge.svg?branch=master)](https://coveralls.io/github/ipfs/interface-pull-blob-store?branch=master)\n[![Travis CI](https://travis-ci.org/ipfs/interface-pull-blob-store.svg?branch=master)](https://travis-ci.org/ipfs/interface-pull-blob-store)\n[![Circle CI](https://circleci.com/gh/ipfs/interface-pull-blob-store.svg?style=svg)](https://circleci.com/gh/ipfs/interface-pull-blob-store)\n[![Dependency Status](https://david-dm.org/ipfs/interface-pull-blob-store.svg?style=flat-square)](https://david-dm.org/ipfs/interface-pull-blob-store) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)\n\n> Test suite for pull-blob-stores\n\nA test suite and interface that can be used to implement streaming file ([blob](https://en.wikipedia.org/wiki/Binary_large_object)) storage modules for various storage backends and platforms. All streaming happens through the use of  [pull-stream](https://pull-stream.github.io/)s.\n\n### Modules that use this\n\n- [fs-pull-blob-store](https://github.com/ipfs/js-fs-pull-blob-store)\n- [idb-pull-blob-store](https://github.com/ipfs/js-idb-pull-blob-store)\n\n## Table of Contents\n\n- [Install](#install)\n- [Usage](#usage)\n- [API](#api)\n  - [store.write(key, cb)](#storewritekey-cb)\n  - [store.read(key)](#storereadkey)\n  - [store.exists(key, cb)](#storeexistskey-cb)\n  - [store.remove(key, cb)](#storeremovekey-cb)\n- [Contribute](#contribute)\n- [License](#license)\n\n## Install\n\nTODO\n\n## Usage\n\nTODO\n\n## API\n\nA valid blob store should implement the following APIs. There is a reference in-memory implementation available at `src/index.js` in this repo.\n\n### store.write(key, cb)\n\nThis method should return a sink, which when written to writes the data to the blob store.\n\n### store.read(key)\n\nThis method should return a source that emits blob data from the underlying blob store or emits an error if the blob does not exist or if there was some other error during the read.\n\n### store.exists(key, cb)\n\nThis checks if a blob exists in the store.\n\n### store.remove(key, cb)\n\nThis method should remove a blob from the store.\n\n## Contribute\n\n[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)\n\nIf you would like to contribute code to this repository, please dive in! Check out [the issues](//github.com/ipfs/interface-pull-blob-store/issues). Clicking the banner above will lead you to the general [IPFS community contribute guidelines](https://github.com/ipfs/community/blob/master/contributing.md), if you would like to contribute in other ways.\n\nSmall note: If editing the Readme, please conform to the [standard-readme](https://github.com/RichardLitt/standard-readme) specification.\n\n## License\n\n[MIT](LICENSE)\n","publish_time":1471261294453,"_cnpm_publish_time":1471261294453,"dist-tags":{"latest":"0.6.0"}}