Draw on the text based canvas using unicode Braille patterns. Designed to working with Bun.
To import as a module:
bun add woxxo/brailledraw
import { BrailleDraw } from 'brailledraw';
const bd = new BrailleDraw(100, 30);
bd.plotLine(0, bd.height - 1, bd.width, 0);
console.log(bd.version);
console.log(bd.toString());
To install from repo into the new folder:
bun create woxxo/brailledraw
To run the installed package:
cd brailledraw
bun run start
or just
bun start
To run the package direct from GitHub:
bun x woxxo/brailledraw
or from npmjs.com
bun x brailledraw
Free software by woxxo.