Metadata-Version: 2.1
Name: pynpm-download
Version: 0.1
Summary: A Js Dependency Downloader using NPM Public Registry API
Home-page: https://gitlab.com/mmonschau/pynpm-download
Author: Michael Monschau
Author-email: dev@michael-monschau.de
License: MIT
Keywords: javascript,dependency management,web development
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.6
Classifier: Operating System :: OS Independent
Classifier: License :: OSI Approved :: MIT License
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Requires-Python: >=3.6
Description-Content-Type: text/markdown
License-File: LICENSE

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

## Usage

```python
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).

