
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
- 0️⃣ No dependencies - 🌲 Tree shakable - 📦 Small - 5️⃣ Typescript 5 - 📝 Strongly typed
strz – Very Strongly Typed String FunctionsIn projects that encourage strong typing, the standard library requires manually casting to match function parameter signatures. strz brings the power of strong typing to the standard library.
import { split, suffix } from 'strz'
const str = "The quick brown fox jumps over the lazy dog"
const splitStr = split(str, " ") // splitStr is of type ["The", "quick", "brown", "fox", "jumps", "over", "the", "lazy", "dog"]
const suffixed = suffix(str, "!") // suffixed is of type "The quick brown fox jumps over the lazy dog!"
npm install strz
import {
charAt,
toLowerCase,
toUpperCase,
toArray,
slice,
uncapitalize,
capitalize,
prefix,
suffix,
split,
trim,
trimStart,
trimEnd,
replaceAll,
replace,
length,
} from 'strz'
const str = "The quick brown fox jumps over the lazy dog"
// Before
const char = str.charAt(0) // char is of type string
// After
const char = charAt(str, 0) // char is of type "T"
// Before
const replaced = str.replaceAll(" ", "_" ) // replaced is of type string
// After
const replaced = replaceAll(str, " ", "_" ) // replaced is of type "The_quick_brown_fox_jumps_over_the_lazy_dog"
// And so on...
charAt ✅toLowerCase ✅toUpperCase ✅toArray ✅slice ✅
slice and does not support negative indicesuncapitalize ✅capitalize ✅prefix ✅suffix ✅split ✅trim ✅trimStart ✅trimEnd ✅replaceAll ✅
replaceAll and does not support regexreplace ✅
replace and does not support regexlength ✅FAQs
- 0️⃣ No dependencies - 🌲 Tree shakable - 📦 Small - 5️⃣ Typescript 5 - 📝 Strongly typed
We found that strz demonstrated a not healthy version release cadence and project activity because the last version was released 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
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.