
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
parse-package-name
Advanced tools
💛 You can help the author become a full-time open-source maintainer by sponsoring him on GitHub.
npm i parse-package-name
import { parse } from 'parse-package-name'
parse('@egoist/foo@1.0.0/bar.js')
//=>
// {name:'@egoist/foo', version:'1.0.0', path:'bar.js'}
version
defaults to latest
if not specified, path
defaults to an empty string if not specified.
MIT © EGOIST
FAQs
Parse npm package name into name, version and path
The npm package parse-package-name receives a total of 172,616 weekly downloads. As such, parse-package-name popularity was classified as popular.
We found that parse-package-name demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.