Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
text-table
/
test
/
File Content:
center.js
var test = require('tape'); var table = require('../'); test('center', function (t) { t.plan(1); var s = table([ [ 'beep', '1024', 'xyz' ], [ 'boop', '3388450', 'tuv' ], [ 'foo', '10106', 'qrstuv' ], [ 'bar', '45', 'lmno' ] ], { align: [ 'l', 'c', 'l' ] }); t.equal(s, [ 'beep 1024 xyz', 'boop 3388450 tuv', 'foo 10106 qrstuv', 'bar 45 lmno' ].join('\n')); });
Submit
FILE
FOLDER
Name
Size
Permission
Action
align.js
393 bytes
0644
ansi-colors.js
892 bytes
0644
center.js
466 bytes
0644
dotalign.js
453 bytes
0644
doubledot.js
476 bytes
0644
table.js
326 bytes
0644
N4ST4R_ID | Naxtarrr