Gathering detailed insights and metrics for @supercharge/goodies
Gathering detailed insights and metrics for @supercharge/goodies
Gathering detailed insights and metrics for @supercharge/goodies
Gathering detailed insights and metrics for @supercharge/goodies
npm install @supercharge/goodies
Typescript
Module System
Min. Node Version
Node Version
NPM Version
91.3
Supply Chain
98.9
Quality
79.9
Maintenance
100
Vulnerability
100
License
TypeScript (51.79%)
JavaScript (48.21%)
Total Downloads
2,891,766
Last Day
2,775
Last Week
12,364
Last Month
44,388
Last Year
509,411
7 Stars
160 Commits
3 Watching
2 Branches
2 Contributors
Minified
Minified + Gzipped
Latest Version
2.0.0
Package Id
@supercharge/goodies@2.0.0
Unpacked Size
12.70 kB
Size
4.15 kB
File Count
23
NPM Version
10.2.0
Node Version
20.8.0
Publised On
17 Oct 2023
Cumulative downloads
Total Downloads
Last day
43.9%
2,775
Compared to previous day
Last week
24.5%
12,364
Compared to previous week
Last month
13.7%
44,388
Compared to previous month
Last year
85.9%
509,411
Compared to previous year
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.
1const { tap } = require('@supercharge/goodies') 2 3return tap(await User.find(1), async (user) => { 4 await user.subscribeToNewsletter() 5}) 6 7// returns the user with ID 1
Returns the result of the callback. The callback receives the value as an argument.
1const { upon } = require('@supercharge/goodies') 2 3return upon(await User.find(1), async (user) => { 4 return user.email 5}) 6 7// 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
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
0 existing vulnerabilities detected
Reason
license file detected
Details
Reason
Found 0/30 approved changesets -- score normalized to 0
Reason
no SAST tool detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
security policy file not detected
Details
Score
Last Scanned on 2025-01-27
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More