2.4.1 • Published 6 years ago

terminal-utilities v2.4.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

terminal-utilities

Travis JavaScript Style Guide npm David

An easy to use synchronous node.js library for using the terminal.

Installation

npm install terminal-utilities

Usage

const terminal = require('terminal-utilities')

Docs

setCursor(cols, rows)

This positions the cursor based on cols and rows.

clear()

This clears the terminal screen.

clearLine(line)

This clears a specific line.

write(text)

This prints text to the terminal.

writeLine(text)

This prints text to the terminal, followed by a \n.

readLine()

This reads one line of input and returns it.

error(message)

This prints an error to the terminal in the form: ERR: message

2.4.1

6 years ago

2.4.0

6 years ago

2.3.2

7 years ago

2.3.1

7 years ago

2.3.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.4

7 years ago

2.0.3

7 years ago

2.0.1

7 years ago

2.0.0

7 years ago