1.2.2 • Published 7 years ago

idb-lucass v1.2.2

Weekly downloads
2
License
Apache-2.0
Repository
github
Last release
7 years ago

idb-lucass

A content addressable file store on top of indexedDB, implemented to the lucass spec.

Coverage Status Build Status dependencies Status

semantic-release Commitizen friendly JavaScript Style Guide

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

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'
  })
})
1.2.2

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago