An open API service indexing awesome lists of open source software.

https://github.com/mihiraggarwal/realtio-npm

A simple node package to take in inputs and display outputs in realtime onto the CLI
https://github.com/mihiraggarwal/realtio-npm

command-line input-output npm-package realtime

Last synced: over 1 year ago
JSON representation

A simple node package to take in inputs and display outputs in realtime onto the CLI

Awesome Lists containing this project

README

          

# realtio

![npm](https://img.shields.io/npm/v/realtio)
![npm bundle size](https://img.shields.io/bundlephobia/min/realtio)

A simple node package to take in inputs and display outputs in realtime onto the CLI.

## Why?

To help beginners learn how to use a specific tool, to help reduce errors during user inputs, or to just efficiently display preset outputs without having the user press enter every time.

## Installation

```
npm install realtio
```

## Parameters

### Input-output values

`Required`

- Key - input
- Value - output

### Prompt

`Optional`

Text, if any, to be displayed before the input.

## Example

![Code snippet](https://raw.githubusercontent.com/mihiraggarwal/realtio-npm/master/assets/demo.png)
![Demo GIF](https://raw.githubusercontent.com/mihiraggarwal/realtio-npm/master/assets/demo.gif)
CLI commands which don't engage any other directory can also be run directly by pressing enter.