1.1.2 • Published 2 years ago

@bokovza/package-downloader v1.1.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

@bokovza/package-downloader - NPM Package Downloader

Made with ❤️ by Bar Yochai Bokovza (Buy me a ☕️)

Main Features

  • 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

Usage

Install

$ npm i -g @bokovza/package-downloader

Run

$ 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.

Options

Mandatory

Packages - -p or --packages

  • 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

Output - -o or --output

  • Target Directory of the downloading
  • Must to write the name of the directory (even if it not exists) after the flag.

Optional

Dev Dependencies - -d or --devDeps

  • Boolean flag
  • If true, also download dev dependencies

Peer Dependencies - -e or --peerDeps

  • Boolean flag
  • If true, also download peer dependencies

Throttle Limit - -l or --limit

  • Positive Number flag
  • Sets the amount of parallel downloads to run
  • Default: 10
1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.10

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago