0.2.1 • Published 1 year ago

package-downloader v0.2.1

Weekly downloads
-
License
Apache-2.0
Repository
-
Last release
1 year ago

Package Downloader

Download the specified NPM package to your local directory, preserving the original file structure. A compressed version of the CSS and JS files will be automatically generated.

Languages

简体中文 | 繁體中文 | 日本語 | 한국어

Installation

You can install it directly through the npm command.

$ npm i package-downloader -g

Or install the latest development version to experience the latest features.

$ npm i package-downloader@dev -g

Usage

After installation, you can use the pkgdl command directly in the current directory. For example, execute the following command:

$ pkgdl @litert/loader@3.4.9

After execution, an npm folder will be generated in the current directory, which will contain version 3.4.9 of the loader library.

Download multiple libraries at once

Just add a space between the libraries to download multiple libraries at the same time, for example:

$ pkgdl @litert/loader@3.4.9 clickgo@3.2.6

Download to a specified directory

Use the -p or --path parameter to specify the directory, for example:

$ pkgdl -p sub @litert/loader@3.4.9 clickgo@3.2.6

This will automatically create a sub folder in the current directory, and generate an npm folder within the sub folder.

License

This library is published under Apache-2.0 license.

0.2.1

1 year ago

0.2.0

1 year ago

0.1.0

1 year ago

0.0.3-dev3

1 year ago

0.0.2-dev2

1 year ago

0.0.1-dev

1 year ago