
Product
Introducing Socket Fix for Safe, Automated Dependency Upgrades
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
π§EventEmitter's typesafe replacementπ§
'evt'
is intended to be a replacement for 'events'
.
It makes heavy use of typescript's type inference features to provide type safety while keeping things concise and elegant πΈ.
Suitable for any JS runtime env (deno, node, old browsers, react-native ...)
tsafe
, run-exclusive
and minimal-polyfills
are all from the same author as EVT).Can be imported in TypeScript projects using version TypeScript >= 3.8 (February 20th, 2020) and in any plain JS projects.
NOTE: There is very few breaking changes from v1 to v2. Check them out.
import { Evt } from "https://deno.land/x/evt/mod.ts";
$ npm install --save evt
import { Evt } from "evt";
There are a lot of things that can't easily be done with EventEmitter
:
Why would someone pick EVT over RxJS:
EVT is an attempt to address all these points while trying to remain as accessible as EventEmitter
.
FAQs
Type safe replacement for node's EventEmitter
The npm package evt receives a total of 52,155 weekly downloads. As such, evt popularity was classified as popular.
We found that evt demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.Β It has 0 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.
Product
Automatically fix and test dependency updates with socket fixβa new CLI tool that turns CVE alerts into safe, automated upgrades.
Security News
CISA denies CVE funding issues amid backlash over a new CVE foundation formed by board members, raising concerns about transparency and program governance.
Product
Weβre excited to announce a powerful new capability in Socket: historical data and enhanced analytics.