Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

s3-lucass

1.1.1 • Public • Published

s3-lucass

Content addressable storage using lucass API.

const S3 = new require('aws-sdk/clients/s3')
const s3 = new S3()
const store = require('s3-lucass')(s3, 'bucketname')
 
let hash = await store.set(Buffer.from('asdf'))
let buff = await store.get(hash)
console.log(buff.toString()) // 'asdf'

Keywords

none

install

npm i s3-lucass

Downloadsweekly downloads

0

version

1.1.1

license

Apache-2.0

repository

githubgithub

last publish

collaborators

  • avatar