Skip to main content

NPM Package Downloader

Project description

Download packages from NPM for private npm servers such as verdaccio and sinopia

  • Python 3.5+ only


Install using pip:

$ pip install npmdownloader


Downloading using the CLI:

$ python -m npmdownloader -f [PACKAGE_FILE_LIST] -o [DOWNLOAD_DIR] -c [NUM_OF_WORKER_PROCESSES]

Downloading a package using code:

from npmdownloader import NpmPackageDownloader

downloader = NpmPackageDownloader('out_dir')
# Download a package and its depedencies as tarballs
# if a package tarball already exists, the download will be skipped'react', version='15.4.1')

Downloading multiple packages using code:

from npmdownloader import MultiPackageDownloader

downloader = MultiPackageDownloader('packages_list.txt', 'out_dir', workers_count=4)

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for npmdownloader, version 1.2.0
Filename, size File type Python version Upload date Hashes
Filename, size npmdownloader-1.2.0-py3-none-any.whl (8.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size npmdownloader-1.2.0.tar.gz (6.6 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page