Installations
npm install ste-promise-events
Developer Guide
Typescript
Yes
Module System
CommonJS
Min. Node Version
>=4.2.4
Node Version
18.17.0
NPM Version
lerna/7.1.4/node@v18.17.0+x64 (win32)
Score
80
Supply Chain
71.3
Quality
76.2
Maintenance
100
Vulnerability
100
License
Releases
Contributors
Unable to fetch Contributors
Languages
TypeScript (89.55%)
HTML (5.6%)
JavaScript (4.23%)
PowerShell (0.62%)
Love this project? Help keep it running — sponsor us today! 🚀
Developer
Download Statistics
Total Downloads
429,047
Last Day
71
Last Week
3,871
Last Month
18,056
Last Year
150,587
GitHub Statistics
MIT License
138 Stars
747 Commits
14 Forks
8 Watchers
6 Branches
9 Contributors
Updated on Dec 19, 2024
Package Meta Information
Latest Version
3.0.11
Package Id
ste-promise-events@3.0.11
Unpacked Size
15.06 kB
Size
4.22 kB
File Count
19
NPM Version
lerna/7.1.4/node@v18.17.0+x64 (win32)
Node Version
18.17.0
Published on
Aug 09, 2023
Total Downloads
Cumulative downloads
Total Downloads
429,047
Last Day
47.9%
71
Compared to previous day
Last Week
-13.3%
3,871
Compared to previous week
Last Month
33.7%
18,056
Compared to previous month
Last Year
36.6%
150,587
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
1
Dev Dependencies
8
Strongly Typed Events - Promise Events
Add events that are modeled after .Net with a sender
and argument
to your project. If you use typescript, you can leverage the support for generics and get strongly typed code. Handlers can be promises.
Need a different type of event? Check out the others.
Check the documentation or the examples for more information.
Need more info? Check the repo.
Example?
It is hard to come up with sensible examples for promise based handlers, but check the GitHub page for a general overview.
Maintenance
This project is maintained by Kees C. Bakker.

No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Info: FSF or OSI recognized license: MIT License: LICENSE:0
Reason
dependency not pinned by hash detected -- score normalized to 4
Details
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/merge.yml:19: update your workflow using https://app.stepsecurity.io/secureworkflow/KeesCBakker/Strongly-Typed-Events-for-TypeScript/merge.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/KeesCBakker/Strongly-Typed-Events-for-TypeScript/node.js.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/KeesCBakker/Strongly-Typed-Events-for-TypeScript/node.js.yml/master?enable=pin
- Info: 0 out of 2 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
- Info: 1 out of 1 npmCommand dependencies pinned
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/merge.yml:1
- Warn: no topLevel permission defined: .github/workflows/node.js.yml:1
- Info: no jobLevel write permissions found
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/17 approved changesets -- score normalized to 0
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 13 are checked with a SAST tool
Reason
18 existing vulnerabilities detected
Details
- Warn: Project is vulnerable to: GHSA-h5c3-5r3r-rr8q
- Warn: Project is vulnerable to: GHSA-rmvr-2pp2-xj38
- Warn: Project is vulnerable to: GHSA-xx4v-prfh-6cgc
- Warn: Project is vulnerable to: GHSA-wf5p-g6vw-rhxx
- Warn: Project is vulnerable to: GHSA-8hc4-vh64-cxmj
- Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg
- Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275
- Warn: Project is vulnerable to: GHSA-ghr5-ch3p-vcr6
- Warn: Project is vulnerable to: GHSA-jchw-25xp-jwwc
- Warn: Project is vulnerable to: GHSA-cxjh-pqwp-8mfp
- Warn: Project is vulnerable to: GHSA-4q6p-r6v2-jvc5
- Warn: Project is vulnerable to: GHSA-78xj-cgh5-2h22
- Warn: Project is vulnerable to: GHSA-2p57-rm9w-gvfp
- Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv
- Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55
- Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5
- Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36
- Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986
Score
2.8
/10
Last Scanned on 2025-02-17
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 MoreOther packages similar to ste-promise-events
ste-promise-simple-events
Add the power of Simple Events to your projects. Every event has an argument with its data. Every handler can be a promise.
ste-promise-signals
Add the power of Promise Signals to your projects. They are the most bare bones implementation of an event that supports promises.