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

Package Sidebar

Install

npm i untar-memory

Weekly Downloads

15

Version

1.2.0

License

MIT

Last publish

Collaborators

  • queckezz