terminal-renderer
v0.2.2
Published
Low level renderer for ANSI terminals written in TypeScript
Downloads
1
Readme
terminal-renderer
Low level renderer for ANSI terminals written in TypeScript
Install
npm install terminal-renderer
Usage
import {createTerminalRenderer} from 'terminal-renderer'
const renderer = createTerminalRenderer(process.stdout)
renderer
.text('This is a text')
.newLine()
.move(10, -1)
.text('edited text', ['blue'])
.newLine()
// The result output:
// This is a edited text