archive-dat
v1.0.0
Published
Turn a dat link into a tarball.
Downloads
4
Maintainers
Readme
archive-dat
Turn a dat link into a tarball.
Install
npm install archive-dat
Usage
var dat = require('dat')
var archive = require('archive-dat')
var db = dat()
var link = 'dat://5aa78bedb1a1c3677725882123b08a15f48538635039c3e2096b64a13ab694b5'
archive.create(db, link, function (err, tar) {
if (err) throw err
tar.pipe(process.stdout) // goes somewhere!
})