0.2.0 • Published 10 months ago

tar-mini v0.2.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

TarMini

It's an implementation based on the ustar format. This package only provides low-level API's.

Usage

// packing
import { createPack, createExtract } from 'tar-mini'

const pack = createPack()

pack.add(new Uint8Array(512), {
  // options
})

pack.done()

// extracting

const extract = createExtract()

extract.on('entry', (head, file) => {
  // todo
})

pack.receiver.pipe(extract.receiver)

Sponsors

Related

LICENSE

MIT

Author

Kanno

0.1.2

10 months ago

0.2.0

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago