# s3-block-store

> S3 storage for @ipld/block

Latest version **1.0.6** (published 2020-10-10) · (Apache-2.0 AND MIT) license · 0 weekly downloads

## Install

```sh
npm install s3-block-store
pnpm add s3-block-store
yarn add s3-block-store
bun add s3-block-store
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.6 |
| Published | 2020-10-10 |
| First published | 2019-12-10 |
| Weekly downloads | 0 |
| License | (Apache-2.0 AND MIT) |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.6 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Author | Mikeal Rogers |
| Maintainers | mikeal |

## Links

- npm: https://www.npmjs.com/package/s3-block-store
- npm.io page: https://npm.io/package/s3-block-store

## Dependencies (3)

- [aws-sdk](https://npm.io/package/aws-sdk.md) ^2.586.0
- [aws-config](https://npm.io/package/aws-config.md) ^1.3.2
- [@ipld/block](https://npm.io/package/@ipld/block.md) ^2.1.3

## Recent versions

- 1.0.6 (latest) — 2020-10-10
- 1.0.5 — 2020-08-18
- 1.0.4 — 2020-06-16
- 1.0.3 — 2020-06-13
- 1.0.2 — 2020-06-13
- 1.0.1 — 2019-12-10
- 1.0.0 — 2019-12-10

## README

# s3-block-store

Storage functions `@ipld/block` interface.

```javascript
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.

---
_Source: https://npm.io/package/s3-block-store · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
