
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
alltheutils
Advanced tools
A utility library with functions I'd rather not recreate if I can help it.
Alltheutils
A utility library with functions I'd rather not recreate if I can help it.
🍕 This is mostly just a util library I'm maintaining for personal projects. If you find it useful, great! If you have a specific utility you want added, just let me know and I'll try to get around to it, or you can submit a PR.
Click to go back to main table of contents
Utilities that analyze or modify strings.
isWhitespaceClick to go back to strings/text table of contents
Checks if the given value is a whitespace character. Whitespace characters are any character outlined on https://en.wikipedia.org/wiki/Whitespace_character.
| Name | Type | Description |
|---|---|---|
| value | unknown | The value to evaluate |
isWhitespace(" ") // true
isWhitespace("a") // false
truncateWhitespaceClick to go back to strings/text table of contents
Truncates all multiple-sequenced whitespace characters into a single space (U+0020) character. Whitespace characters are any character outlined on https://en.wikipedia.org/wiki/Whitespace_character.
| Name | Type | Description |
|---|---|---|
| str | string | The string to truncate whitespace within |
truncateWhitespace(" ") // " "
truncateWhitespace(" a ") // " a "
truncateWhitespace("a a a") // "a a a"
truncateWhitespace("aaa") // "aaa"
© Jacob Lockett 2025
FAQs
A utility library with functions I'd rather not recreate if I can help it.
We found that alltheutils 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

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.