node-tgz-extractor
v1.0.0-beta.2
Published
Extracts all of the node_modules from npm cache based on a package-lock.json file
Downloads
7
Maintainers
Readme
node-tgz-extractor
Based on node-tgz-downloader
Extracts all the tarballs in local npm-cache based on package-lock.json
file
without install
npx node-tgz-extractor package-lock path/to/package-lock.json
usage
From Code:
const downloader = require('node-tgz-extractor');
downloader.extractFromPackageLock('path/to/package-lock');
From Command Line:
package-lock.json
from local file:
extract-tgz package-lock path/to/package-lock.json