@nearform/terminal-logo
v1.0.4
Published
A small app that allows nearformers to include an CLI logo in any CLI tools they may be building - ... looking at you nscale :)
Downloads
8
Readme
terminal-logo
A small app that allows nearformers to include an CLI logo in any CLI tools they may be building - ... looking at you nscale :)
Usage
Exports a function, function takes a single input - represents left padding in terminal points (monospaced characters).
var logo = require('@nearform/terminal-logo');
console.log(logo(20));
Also has a toTTY(n)
method, that writes directly to process.stdout
.
require('@nearform/terminal-logo').toTTY(20);