usagechartscii accepts an array of data objects, with optional labels, and outputs an ascii bar chart. example#const Chartscii = require('chartscii'); // generate random chart dataconst data = []; for (let i = 1; i <= 20; i++) { data.push(Math.floor(Math.random() * 1000) + 1);} // create chartconst chart = new Chartscii(data, { label: 'Example Chart', width: 500, sort: true, reverse: true, color: 'pink'}); //print chartconsole.log(chart.create());Copyoutputs: you can customize the acsii character for the bar chart using the char option. for example: const chart = new Chartscii(data, { label: 'Example Chart', width: 500, char: 'â– ', sort: true, reverse: true, color: 'green'}); console.log(chart.create());Copyoutputs: typescript usage example#example usage in typescript: import Chartscii, {ChartData} from 'chartscii'; const data: Array<ChartData> = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10];const chart: Chartscii = new Chartscii(data, { naked: true });console.log(chart.create());Copy