1.0.1 • Published 5 months ago

@extremeexploit/inputbox v1.0.1

Weekly downloads
-
License
LGPL-3.0-only
Repository
github
Last release
5 months ago

inputbox

A library that allows you to use both stdin and stdout without worrying about them overlapping

NOTE: Currently moving using the arrow keys isnt supported

Example

import inputBox from '@extremeexploit/inputbox';

function ibHandler(str) {
    ib.log('Got the line ' + str);
}

const ib = new inputBox('> ', ibHandler);

// Log example output
setInterval(() => {
    ib.log("just displaying some stuff");
}, 1000);

Video example

1.0.1

5 months ago

1.0.0

5 months ago