softio
v0.3.12
Published
The NodeJs library for write/read from terminal.
Downloads
418
Maintainers
Readme
Softio.js
Welcome to Softio project. 🔥
Softio is a JavaScript/TypeScript library that allows you to work more easily with the terminal. Using Softio you can easily write and read in the terminal. In addition, it allows you to easily change the properties of the terminal such as background color, text color, etc. Softio helps you write easier console programs.
Get Started
To get started, first run the following command in your project path in the terminal to install the softio
package in your project.
npm install softio
Then you can use Softio in your project as follows.
const softio = require( 'softio' );
void ( async function () {
const name = await softio.input( 'Enter your name: ' );
softio.writeln( `Welcome ${ name }.` );
} ) ();
To view Softio's documentation, simply visit this link to read all available APIs. We try to always keep our documentation up to date so that you can easily use our package.
Licence
Softio is licensed under the MIT, allowing you to modify it safely.