projects
/
platform
/
upstream
/
nodejs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
npm: Upgrade to 1.3.17
[platform/upstream/nodejs.git]
/
deps
/
npm
/
node_modules
/
text-table
/
example
/
center.js
1
var table = require('../');
2
var t = table([
3
[ 'beep', '1024', 'xyz' ],
4
[ 'boop', '3388450', 'tuv' ],
5
[ 'foo', '10106', 'qrstuv' ],
6
[ 'bar', '45', 'lmno' ]
7
], { align: [ 'l', 'c', 'l' ] });
8
console.log(t);