# idb-lucass

> A content addressable file store on top of indexedDB, implemented to the [`lucass`](https://github.com/mikeal/lucass) spec.

Latest version **1.2.2** (published 2017-08-11) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install idb-lucass
pnpm add idb-lucass
yarn add idb-lucass
bun add idb-lucass
```

## 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.2.2 |
| Published | 2017-08-11 |
| First published | 2017-07-25 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Mikeal Rogers |
| Maintainers | mikeal |

## Links

- npm: https://www.npmjs.com/package/idb-lucass
- Repository: https://github.com/mikeal/idb-lucass
- Homepage: https://github.com/mikeal/idb-lucass#readme
- Issues: https://github.com/mikeal/idb-lucass/issues
- npm.io page: https://npm.io/package/idb-lucass

## Dependencies (3)

- [idb](https://npm.io/package/idb.md) ^2.0.3
- [multihasher](https://npm.io/package/multihasher.md) ^1.0.0
- [typedarray-to-buffer](https://npm.io/package/typedarray-to-buffer.md) ^3.1.2

## Recent versions

- 1.2.2 (latest) — 2017-08-11
- 1.2.1 — 2017-08-11
- 1.2.0 — 2017-08-11
- 1.1.0 — 2017-07-29
- 1.0.1 — 2017-07-25
- 1.0.0 — 2017-07-25

## README

# idb-lucass

A content addressable file store on top of indexedDB, implemented to the
[`lucass`](https://github.com/mikeal/lucass) spec.

[![Coverage Status](https://coveralls.io/repos/github/mikeal/contentfs/badge.svg?branch=master)](https://coveralls.io/github/mikeal/contentfs?branch=master)
[![Build Status](https://travis-ci.org/mikeal/contentfs.svg?branch=master)](https://travis-ci.org/mikeal/contentfs)
[![dependencies Status](https://david-dm.org/mikeal/contentfs/status.svg)](https://david-dm.org/mikeal/contentfs)

[![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
[![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)

API conforms to the lucass spec and supports optional arguments to the
hasher.

```javascript
const idblucass = require('idb-lucass')
const store = idblucass('noop', argHasher)
store.set(Buffer.from('asdf'), (err, hash) => {
  if (err) throw err
  store.get(hash, (err, buff) => {
    if (err) throw err
    console.log(buff.toString()) // 'asdf'
  })
})
```

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