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.2.tar.gz (5.6 kB view hashes)

Uploaded Source

Built Distribution

pynpm_download-0.2-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

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