
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.
@httpie/utilities
Advanced tools
Helper and utility functions for Node.js.
Installation · Docs · API
Follow @marcuspoehls and @httpiejs for updates!
The @httpie/utilities package provides a handful of useful helper functions for Node.js and JavaScript, like an async tap function.
npm i @httpie/utilities
Find all the details for @httpie/utilities in the extensive httpie docs.
Using @httpie/utilities is pretty straightforward. The package exports a handful of methods that you can reach for when requiring the package:
Returns the value after running the callback. The callback receives the value as an argument.
const { tap } = require('@httpie/utilities')
return tap(await User.find(1), async (user) => {
await user.subscribeToNewsletter()
})
// returns the user with ID 1
Returns the result of the callback. The callback receives the value as an argument.
const { upon } = require('@httpie/utilities')
return upon(await User.find(1), async (user) => {
return user.email
})
// user@email.com
Do you miss a goodie function? We very much appreciate your contribution! Please send in a pull request 😊
git checkout -b my-featuregit commit -am 'Add some feature'git push origin my-new-featureMIT © httpie
httpiejs.com · GitHub @httpie · Twitter @httpiejs
FAQs
Utility functions for Node.js and JavaScript
We found that @httpie/utilities 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.