
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
This Python package converts a package-lock.json
file into a CSV file containing detailed information about project dependencies, including their versions, integrity, and metadata. It also fetches the latest versions of the packages from the NPM registry.
package-lock.json
into a structured DataFrame using Pandas.dependencies.csv
.Before running the script, ensure you have:
pip install pandas requests
The script reads the package-lock.json
file and parses it into a Pandas DataFrame for easy manipulation.
name
→ Project
version
→ Current Version
dependencies
→ dict
Latest Version
Integrity
Requires
Dependencies
hasDependencies
(boolean flag indicating whether a dependency has its own dependencies)Extracts and processes data from the dependencies
dictionary:
For each package, the script queries the NPM registry API (https://registry.npmjs.org/:package
) to fetch the latest available version and populates the Latest Version
column.
The final DataFrame is saved as a CSV file named dependencies.csv
.
depster path/to/package-lock.json
The output file, dependencies.csv
, will be created in the same directory as the script.
The resulting CSV file will include the following columns:
Packages | Project | Current Version | Latest Version | Integrity | Requires | Dependencies | hasDependencies |
---|---|---|---|---|---|---|---|
1 | Example1 | 1.0.0 | 1.2.0 | abc123... | dep1: ^1.0.0, dep2: | dep3: 1.1.0, dep4: | True |
package-lock.json
file.This project is open-source and available under the MIT License.
FAQs
A tool create a detailed CSV analyzing your project's dependencies
We found that depster demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.