1.0.6 • Published 4 years ago
s3-block-store v1.0.6
s3-block-store
Storage functions @ipld/block
interface.
const s3 = require('s3-block-store')
const store = s3('bucketName')
const { get, put, has } = store
get(cid)
Return Block
instance.
has(cid)
Return false or integer (size).
put(block)
Stores block instance by attached CID.