Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

table-b

bouzuya56MIT4.0.0TypeScript support: included

text-table for Japanese

align, ascii, eastasianwidth, rows, table, tabular, text, text-table

readme

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/)

changelog

4.0.0 (2020-01-18)

  • build!: remove node.js v8 support (92411b2)
  • build: bump babel to 7.8.3 (8ab123f)
  • build: downgrade @types/node to 10.y.z (f910165)
  • build: npm i -D nyc@15 rimraf@3 coveralls@3 (ccc4330)
  • build: npm update typescript tslint (48d5dab)
  • build: update test deps (f3f52a2)
  • build: Bump lodash from 4.17.11 to 4.17.14 (34dc0ba)
  • build: Bump mixin-deep from 1.3.1 to 1.3.2 (68f40e1)
  • refactor: eastasianwidth -> string-width (1b76a71)
  • build: npm i -D @babel/cli @babel/core @babel/preset-env (6efe644)
  • chore: remove deps section from readme (abf7fc7)build
  • build: update tap-dot-b (9f0b1e0)