Extract package versions from package-lock.json without installing dependencies!
Project description
🔓🚀 Unlock Your package-lock.json with lockfile-extract
lockfile-extract is a lightweight CLI tool that extracts all package versions from package-lock.json—without installing dependencies!
Easily analyze your project's dependencies without running npm list or installing unnecessary packages.
🚀 Features
- ✅ Instantly extract package names & versions
- ✅ Multiple output formats: CLI, JSON, and CSV
- ✅ Zero dependencies required—no
npm installneeded - ✅ Fast & lightweight for quick analysis
🔧 Installation
pip install lockfile-extract
⚡ Usage
Extract package versions (CLI Output)
lockfile-extract package-lock.json
✅ Example Output
express 4.17.1, axios 1.2.3, lodash 4.17.21, ...
Save output to JSON or CSV
📄 Output as JSON file
lockfile-extract package-lock.json --format=json
📌 Creates output.json with package details in JSON format.
📊 Output as CSV file
lockfile-extract package-lock.json --format=csv
📌 Creates output.csv with package details in CSV format.
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
File details
Details for the file lockfile-extract-1.0.3.tar.gz.
File metadata
- Download URL: lockfile-extract-1.0.3.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ca239aefb0c1a72e44fd2ea64271d387e300b92f08e0155ba102c2e16e4931b9
|
|
| MD5 |
cb2a06c4b5604d1ff0397b3374f924ab
|
|
| BLAKE2b-256 |
e9c0f41336621dbc6da4f2640f6a7893acb8b7e6f2fe65b605277ca97869e8db
|