Socket
Book a DemoInstallSign in
Socket

s3-block-store

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

s3-block-store

S3 storage for @ipld/block

latest
npmnpm
Version
1.0.6
Version published
Maintainers
1
Created
Source

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.

FAQs

Package last updated on 10 Oct 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts