JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 112234
  • Score
    100M100P100Q155977F
  • License MIT

It's an implementation based on the `ustar` format

Package Exports

  • tar-mini

Readme

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

LICENSE

MIT

Author

Kanno