tabulate

1.0.0 • Public • Published

SYNOPSIS

columns for streams

EXAMPLE

Code

var Tabulate = require('./index')
var t = Tabulate(process.stdout)
 
function rnum(min, max) {
  return Math.floor(Math.random() * (max - min) + min)
}
 
var r = Array
  .apply(null, Array(130))
  .map(function() { return String(rnum(1, 1e9)) })
 
console.log(t.write(r))

Output

Here is the output from an actual project that uses the tabulate module.

img

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i tabulate

      Weekly Downloads

      35

      Version

      1.0.0

      License

      MIT

      Last publish

      Collaborators

      • hij1nx