Skip to main content

A Js Dependency Downloader using NPM Public Registry API

Project description

pynpm-download - A Js Dependency Downloader using NPM Public Registry API

Usage

from pynpmd import JsLibResolver

libs = ["d3", "@hpcc-js/wasm"]
rsvr = JsLibResolver()
for lib in libs:
   print(rsvr.get_lib(lib))

FAQ

Whats the difference to other approaches?

Most other libaries are either bound to a certain Web-framework or use npm binary. This library only uses the web api.

Why don't you use Google Hosed Libraries (or similar) to get external js-libraries?

  • GDPR (If there is no other server, you do not have to point it out in the privacy policy.)
  • It works locally with bad or no internet connection (after inital download).

Project details


Download files

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

Source Distribution

pynpm-download-0.1.1.tar.gz (5.4 kB view details)

Uploaded Source

Built Distribution

pynpm_download-0.1.1-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pynpm-download-0.1.1.tar.gz.

File metadata

  • Download URL: pynpm-download-0.1.1.tar.gz
  • Upload date:
  • Size: 5.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for pynpm-download-0.1.1.tar.gz
Algorithm Hash digest
SHA256 3346a07ab296f62213fd521fefa06c6c0a9fe74ca63f6a60bf4962005a6df881
MD5 4928dcee243f9a7ad85ed02fc03edb10
BLAKE2b-256 76a1c74bf4aea9059bdc69a572347ae5e066e1281fd90f0fa3354e80e9995d98

See more details on using hashes here.

File details

Details for the file pynpm_download-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: pynpm_download-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.8

File hashes

Hashes for pynpm_download-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 111a6b8adf9ae4eb9ae63084c70d5c81f37bbd25969789d5f00a4529048a5a13
MD5 2da8562f5afefeca2c94a3f4eb7eaf5a
BLAKE2b-256 59f26091a982b7eb4b41f95f196fb1fde91f15e7e01f114167f0caf5be3401f1

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page