New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

rx-stdio

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rx-stdio

Binding between Node.js stdin/stdout and RxJS Observables.

latest
Source
npmnpm
Version
1.0.10
Version published
Maintainers
1
Created
Source

This module wraps Node's stdin and stdout into the framework of RxJS5. It was developed using TypeScript 2.3.4.

It defines 2 functions:

  • makeRxStdin(), which returns an Observable yielding the lines read from process.stdin
  • makeRxStdout(), which returns a Subscriber writing what it gets to process.stdout, using console.log()

Usage (see also the included test): makeRxStdin().subscribe(makeRxStdout());

Build (if necessary): tsc

Keywords

Node.js

FAQs

Package last updated on 13 Jan 2018

Did you know?

Socket

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.

Install

Related posts