# blockstack-content

> const storage = storageDriver(); const notes = new MultiFileCollectionService({ type: "note", storage });

Latest version **5.0.0** (published 2018-03-03) · 0 weekly downloads

## Install

```sh
npm install blockstack-content
pnpm add blockstack-content
yarn add blockstack-content
bun add blockstack-content
```

## 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 | 5.0.0 |
| Published | 2018-03-03 |
| First published | 2018-03-03 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 4.4 KB |
| Known vulnerabilities | 0 (+2 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | darkua |

## Links

- npm: https://www.npmjs.com/package/blockstack-content
- npm.io page: https://npm.io/package/blockstack-content

## Dependencies (3)

- [moment](https://npm.io/package/moment.md) 2.20.1
- [shortid](https://npm.io/package/shortid.md) 2.2.8
- [blockstack](https://npm.io/package/blockstack.md) 0.15.1

## Recent versions

- 5.0.0 (latest) — 2018-03-03
- 4.0.0 — 2018-03-03
- 3.0.0 — 2018-03-03
- 2.0.0 — 2018-03-03
- 1.0.0 — 2018-03-03

## README

### Example

const storage = storageDriver();
    const notes = new MultiFileCollectionService({
      type: "note",
      storage
    });

    let publish = async () =>{
      await notes.createItem({
        "txt": "im a note!"
      }).then( async (res)=>{
        const item = await notes.getItem(res.id)
        console.log('get on item',item)
      });
      let items = await notes.getItems();
      console.log('get all items',items)
    }
    publish()

//

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