
Research
Security News
Lazarus Strikes npm Again with New Wave of Malicious Packages
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
@supercharge/goodies
Advanced tools
Helper and utility functions for Node.js.
Installation · Docs · API
Follow @marcuspoehls and @superchargejs for updates!
The @supercharge/goodies
package provides a handful of useful helper functions for Node.js and JavaScript, like an async tap
function.
npm i @supercharge/goodies
Find all the details for @supercharge/goodies
in the extensive Supercharge docs.
Using @supercharge/goodies
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('@supercharge/goodies')
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('@supercharge/goodies')
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-feature
git commit -am 'Add some feature'
git push origin my-new-feature
MIT © Supercharge
superchargejs.com · GitHub @supercharge · Twitter @superchargejs
FAQs
Utility functions for Node.js and JavaScript
The npm package @supercharge/goodies receives a total of 6,386 weekly downloads. As such, @supercharge/goodies popularity was classified as popular.
We found that @supercharge/goodies demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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.
Research
Security News
The Socket Research Team has discovered six new malicious npm packages linked to North Korea’s Lazarus Group, designed to steal credentials and deploy backdoors.
Security News
Socket CEO Feross Aboukhadijeh discusses the open web, open source security, and how Socket tackles software supply chain attacks on The Pair Program podcast.
Security News
Opengrep continues building momentum with the alpha release of its Playground tool, demonstrating the project's rapid evolution just two months after its initial launch.