Metadata-Version: 2.1
Name: lockfile-extract
Version: 1.0.3
Summary: Extract package versions from package-lock.json without installing dependencies!
Home-page: https://github.com/sidhanshamil/lockfile-extract
Author: Sidhan Shamil M
Author-email: sidhanshamil3@gmail.com
License: MIT
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# 🔓🚀 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 install` needed  
- ✅ **Fast & lightweight** for quick analysis  

## 🔧 Installation  

```bash
pip install lockfile-extract
```
## ⚡ Usage

### Extract package versions (CLI Output)
```bash
lockfile-extract package-lock.json
```
### ✅ Example Output
```nginx
express 4.17.1, axios 1.2.3, lodash 4.17.21, ...
```

### Save output to JSON or CSV

#### 📄 Output as JSON file
```bash
lockfile-extract package-lock.json --format=json
```
📌 Creates output.json with package details in JSON format.

#### 📊 Output as CSV file
```bash
lockfile-extract package-lock.json --format=csv
```
📌 Creates output.csv with package details in CSV format.

