1.0.2 • Published 12 months ago

tar-drive v1.0.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
12 months ago

tar-drive

npm install tar-drive

Usage

const fs = require('fs')
const tar = require('tar-drive')

// packing a drive
tar.pack(drive).pipe(fs.createWriteStream('archive.tar'))

// extracting a drive
fs.createReadStream('archive.tar').pipe(tar.extract(drive))

API

const stream = pack(drive[, options])

Options include:

{
  pack: tarStream.pack(options)
}

const stream = extract(drive[, options])

Options include:

{
  extract: tarStream.extract(options)
}

License

Apache-2.0

1.0.2

12 months ago

1.0.1

1 year ago

1.0.0

1 year ago