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
Release history Release notifications | RSS feed
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 details)
Built Distribution
File details
Details for the file pynpm-download-0.2.tar.gz
.
File metadata
- Download URL: pynpm-download-0.2.tar.gz
- Upload date:
- Size: 5.6 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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 827a10faf9ec397b5ff9755fdfeeb1fb6e8aecc3e8be2897b9173aff6478aa9a |
|
MD5 | 0ece6f579126140270cac395d3864814 |
|
BLAKE2b-256 | 5d6b85a5e10f6c6c4ecedb3f82d24b0dc2d8957f1071d372dca23cbeb68378c9 |
File details
Details for the file pynpm_download-0.2-py3-none-any.whl
.
File metadata
- Download URL: pynpm_download-0.2-py3-none-any.whl
- Upload date:
- Size: 6.7 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.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f69f277a9b52c8c0676fcdd6281b3618128a3f62ab34b858f04bc2d39e9fc6ca |
|
MD5 | 8d8de4be87f95bf5cb7bf10df4cd12af |
|
BLAKE2b-256 | f1d7091b5ac0e0ecd2bab4f385f340902b90c33f9662f8c1418832722a559afd |