arudradey's picture
download
raw
312 Bytes
'use strict';
var parse = require('../');
var test = require('tape');
test('stops parsing on the first non-option when stopEarly is set', function (t) {
var argv = parse(['--aaa', 'bbb', 'ccc', '--ddd'], {
stopEarly: true,
});
t.deepEqual(argv, {
aaa: 'bbb',
_: ['ccc', '--ddd'],
});
t.end();
});

Xet Storage Details

Size:
312 Bytes
·
Xet hash:
9f582302ea954221665a4d78b95fafa69e2886fcdaed62c4394544d854883af7

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