table-b

text-table for Japanese


Keywords
align, ascii, eastasianwidth, rows, table, tabular, text, text-table
License
MIT
Install
npm install table-b@4.0.0

Documentation

table-b

text-table for Japanese.

Installation

npm install table-b

Usage

import table from 'table-b';

const message = table([
  ['いろは', '123'],
  ['abc', '456']
], {
  align: ['l', 'r']
});

console.log(message);

// table-b:
// いろは 123
// abc    456

// text-table:
// いろは  123
// abc  456

Badges

npm version Travis CI Coveralls

License

MIT

Author

bouzuya <m@bouzuya.net> (https://bouzuya.net/)