Made with ❤️ by Bar Yochai Bokovza (Buy me a ☕️)
- You can download multiple packages with dependencies
- The resolver will merge the entire dependency tree, for reducing the amount of packages to download
- The resolver uses
pacote, which means that the same resolver of npm, used in this package downloader - Skipping downloaded packages, in case of running again the package downloader with different packages on the same output directory
$ npm i -g @bokovza/package-downloader$ packageDownloader -p "react react-router-dom" -o "whiten"This example will download packages react and react-router-dom with all of the dependencies to ./whiten directory.
- List of packages divided by spaces
- Must be inside
"___" - Write the name of the packages the same way you write when you run the command
npm install
- Target Directory of the downloading
- Must to write the name of the directory (even if it not exists) after the flag.
- Boolean flag
- If
true, also download dev dependencies
- Boolean flag
- If
true, also download peer dependencies
- Positive Number flag
- Sets the amount of parallel downloads to run
- Default: 10