NPM Package Miner
A Python tool to mine and extract complete package lists from the NPM registry.
Installation
pip install npm-miner
Usage
npm-miner
Or use as a Python module:
from npm_miner import mine_npm
mine_npm()
Data Source
- NPM Registry: https://registry.npmjs.org/
- All packages: https://replicate.npmjs.com/_all_docs
Output
Location: ../Package-List/NPM.csv
The output file will be stored in a folder named "Package-List" in your current working directory.
If you are using a virtual environment, "Package-List" will be located where venv is installed.
Format: CSV file with columns:
- ID (sequential number)
- Platform (always "NPM")
- Name (package name)
- Homepage URL
- Repository URL
Metadata
Release files for npm-miner 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| npm_miner-1.0.4.tar.gz | 8.5 kB | Without provenance | Details for npm_miner-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| npm_miner-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for npm_miner-1.0.4-py3-none-any.whl |
Total release size: 16.8 kB
Release files / npm_miner-1.0.4.tar.gz
| Download URL | npm_miner-1.0.4.tar.gz |
|---|---|
| Size | 8.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7467726eea3cefbffcad5dc7162f3f5a04eb9310571b4f137be2b2dda1cb7846
|
|
BLAKE2b-256 checksum How to use checksums |
aaf935c4e17ff4059fd3b5444bc75f17537f207188fad7229c345f96ab6745f1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Release files / npm_miner-1.0.4-py3-none-any.whl
| Download URL | npm_miner-1.0.4-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0fcbd5b302a7f09467a117c28c9cc5a7aeb4609fc497e6b5c442447f280e80f9
|
|
BLAKE2b-256 checksum How to use checksums |
738280464e8df55c2f7d76568760d876e87e2e51b30053988cfe9f53f93b0322
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.2
|
Security for npm-miner 1.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.