
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
A simple Object that can start a chain of actions after a chain of events
The user can define the chain of events/actions as a simple string with the following format:
event1 - event2[;<timeout>ms] ... > action1[;<timer>ms] - action2[;<timer>ms] - action3[;<timer>ms]
-
is used as separator on both events and actions>
as separator between events and actions;
as timeout/timer separatorms
suffix-
and >
on your events/actions stringsexample:
const Reacter = require('reacter');
let reacter = new Reacter("e1 - e2;30ms > a1 - a2;30ms");
reacter.on('reaction', console.log.bind(console));
reacter.process('e1').process('e2');
In this case when Reacter gets an event e1
followed by and event e2
fired less than 30ms
from e1
it will immediatly emit a reaction with a1
followed by a reaction with a2
after ~30ms
FAQs
A simple Object that can start a chain of reactions after a chain of events
The npm package reacterjs receives a total of 1 weekly downloads. As such, reacterjs popularity was classified as not popular.
We found that reacterjs demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.