tahamajs's picture
download
raw
393 Bytes
var test = require('tape');
var table = require('../');
test('align', function (t) {
t.plan(1);
var s = table([
[ 'beep', '1024' ],
[ 'boop', '33450' ],
[ 'foo', '1006' ],
[ 'bar', '45' ]
], { align: [ 'l', 'r' ] });
t.equal(s, [
'beep 1024',
'boop 33450',
'foo 1006',
'bar 45'
].join('\n'));
});

Xet Storage Details

Size:
393 Bytes
·
Xet hash:
668caf4fdb053bb126dc6ed414cc82d8780ae326488dc8bce4198ff5ac6a7d53

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.