Gathering detailed insights and metrics for @reactway/tiny-emitter
Gathering detailed insights and metrics for @reactway/tiny-emitter
Gathering detailed insights and metrics for @reactway/tiny-emitter
Gathering detailed insights and metrics for @reactway/tiny-emitter
npm install @reactway/tiny-emitter
Typescript
Module System
Node Version
NPM Version
TypeScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
12 Commits
2 Watchers
13 Branches
Updated on Nov 29, 2021
Latest Version
1.0.2
Package Id
@reactway/tiny-emitter@1.0.2
Unpacked Size
6.80 kB
Size
3.00 kB
File Count
9
NPM Version
3.10.8
Node Version
6.9.1
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1
Small library to handle change emits.
1$ npm install @reactway/tiny-emitter
1type CounterHandler = (count: number) => void; 2const handler: CounterHandler = count => console.log("Counter:", count); 3 4const counterEmitter = new TinyEmitter<CounterHandler>(); 5 6const removeListener = counterEmitter.addListener(handler); 7 8counterEmitter.emit(1); // Emit change with value count=1 9// Console log: Counter: 1 10 11removeListener(); // Remove registered listener
.addListener(handler: Callback): () => void
.removeListener(handler: Callback): void
.emit(...payload: any): void
.getListenersCount(): number
Released under the MIT license.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
Found 3/9 approved changesets -- score normalized to 3
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
48 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
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