Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
@reactive-js/core
Advanced tools
Fast modern reactive Javascript programming library.
ReactiveJS is an isomorphic library which supports all modern ecmascript platforms including Node.js (v14 and up), Deno, and modern browsers.
Reactive JS can be added to your npm based project using the @reactive-js/core packages.
yarn add @reactive-js/core
Both Ecmascript and Typescript modules that may be directly imported into your project are available in the mod directory of this repo. These modules are all Deno compatible. Only modules in the toplevel directory are supported. Modules in the internal or experimental folders include API that is subject to change at any time. We recommend referencing specifically tagged releases of these files in your projects.
import { increment, pipe, returns } from "@reactive-js/core/functions";
import {
exhaust,
fromArray,
generate,
map,
onNotify,
subscribe
} from "@reactive-js/core/observable";
import { normalPriority } from "@reactive-js/core/react";
// The pipe function can be used to compose operators.
const subscription = pipe(
// The event source is a generator that generates numbers as fast
// as it can. Note this work is still done concurrently with
// other worked scheduled on the scheduler. The generate function yields
// to the scheduler to let it do other work such as letting
// the browser paint or allowing react to render component
// trees.
generate(increment, returns(0)),
map(x => fromArray([x, x, x, x])),
exhaust(),
// Write the output to the console.
// To observe notifications generated by the observable,
// we use a variation of the observe operator (observe, onNext, onComplete, onError)
onNotify(console.log),
// Subscribe to the observable using the normal priority scheduler, creating a subscription.
subscribe(normalPriority);
);
FAQs
Fast modern reactive Javascript programming library.
The npm package @reactive-js/core receives a total of 132 weekly downloads. As such, @reactive-js/core popularity was classified as not popular.
We found that @reactive-js/core demonstrated a healthy version release cadence and project activity because the last version was released less than 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.