Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
usr
/
local
/
lib
/
node_modules
/
npm
/
node_modules
/
text-table
/
test
/
File Content:
dotalign.js
var test = require('tape'); var table = require('../'); test('dot align', function (t) { t.plan(1); var s = table([ [ 'beep', '1024' ], [ 'boop', '334.212' ], [ 'foo', '1006' ], [ 'bar', '45.6' ], [ 'baz', '123.' ] ], { align: [ 'l', '.' ] }); t.equal(s, [ 'beep 1024', 'boop 334.212', 'foo 1006', 'bar 45.6', 'baz 123.' ].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