Skip to content

πŸ”“ Extract package versions from `package-lock.json` without installing dependencies! ⚑ Supports CLI, JSON, and CSV output. πŸš€

License

Notifications You must be signed in to change notification settings

sidhanshamil/lockfile-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

3 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ”“πŸš€ 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

Install from PyPI (Recommended)

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.

About

πŸ”“ Extract package versions from `package-lock.json` without installing dependencies! ⚑ Supports CLI, JSON, and CSV output. πŸš€

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published