untar-memory

1.2.0 • Public • Published

untar-memory

Untar a tarball to an in-memory filesystem

build status npm version dependency status license code style: standard

Installation

$ npm install untar-memory

Example

const untarToMemory = require('untar-memory')
 
untarToMemory('./tar-file.tgz') // or pass in an existing read stream
  .then((memoryFileSystem) => {
    memoryFileSystem.readFileSync('/package/readme.md', 'utf8')
    // -> # title ...
  })

Tests

$ npm test 

License

MIT

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.2.0
    21
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.2.0
    21
  • 1.1.0
    1
  • 1.0.0
    0

Package Sidebar

Install

npm i untar-memory

Weekly Downloads

15

Version

1.2.0

License

MIT

Last publish

Collaborators

  • queckezz