package
Untar a tarball to an in-memory filesystem
npm install untar-memoryGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Untar a tarball to an in-memory filesystem
$ npm install untar-memoryconst untarToMemory = require('untar-memory')
untarToMemory('./tar-file.tgz') // or pass in an existing read stream
.then((memoryFileSystem) => {
memoryFileSystem.readFileSync('/package/readme.md', 'utf8')
// -> # title ...
})$ npm test Estimated unpacked size across 39 packages.
6.3 MB
Includes dependencies.
5 direct · 4 outdated
^2.2.1
7.5.23
^4.0.0
22.3.0
^0.4.1
0.5.0
^1.3.1
1.4.2
^1.5.2
2.0.0