
Security News
The Hidden Blast Radius of the Axios Compromise
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.
yeonpm-modules
Advanced tools
Collection of frequently used functions for projects
npm install yeonpm-modules
commas(1000), commas("1000")
"1,000", "1,000"
capitalize("hello")
"Hello"
truncate("Long text here", 5)
"Long ..."
dateForm(new Date()), dateForm(new Date(), "/")
"2024-11-20", "2024/11/20"
timeForm(new Date()), timeForm(new Date(), true)
"15:30", "15:30:00"
dateTimeForm(new Date()), dateTimeForm(new Date(), "/")
"2024-11-20 15:30", "2024/11/20 15:30"
stringToDate("240320"), stringToDate("20240320"), stringToDate("202403201530"), stringToDate("20240320153045")
Converts date string to Date object (Supported formats: YYMMDD, YYYYMMDD, YYYYMMDDHHMM, YYYYMMDDHHMMSS)
timeAgo(new Date(Date.now() - 3600000)), timeAgo(new Date(Date.now()))
"1 hour ago", "Just now"
log.info("SUCCESS", "Operation completed successfully")
"[SUCCESS] Operation completed successfully" (Colored)
sum(1, 2, 3, 4, 5)
"15"
MIT
FAQs
Collection of frequently used functions for projects
We found that yeonpm-modules demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.

Research
A supply chain attack on Axios introduced a malicious dependency, plain-crypto-js@4.2.1, published minutes earlier and absent from the project’s GitHub releases.

Research
Malicious versions of the Telnyx Python SDK on PyPI delivered credential-stealing malware via a multi-stage supply chain attack.