console-chart

0.0.1 • Public • Published

tcharts.js

Lightweight and fast terminal ASCII charts for nodejs and browser.

1. Install & Usage

npm i -S tcharts.js

const TCharts = require('tcharts.js');
const { Bar, HBar, Box, Table } = TCharts;
 
const barChart = new Bar(options); // instance the chart with options.
 
const barString = barChart.string();
 
console.log(chartString);

2. Supported charts

  • Bar: bar chart, with x, y.
  • HBar: horizontal bar chart.
  • Box: box chart showing with a square.
  • Table: data table in terminal.

## 3. Configure options

TODO

## 4. License

ISC@hustcc.

Package Sidebar

Install

npm i console-chart

Weekly Downloads

1

Version

0.0.1

License

ISC

Last publish

Collaborators

  • atool