first commit

This commit is contained in:
qwq
2026-04-20 16:18:26 +08:00
commit 51d794376c
2880 changed files with 673212 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
'use strict';
var parse = require('../');
var test = require('tape');
test('parse with modifier functions', function (t) {
t.plan(1);
var argv = parse(['-b', '123'], { boolean: 'b' });
t.deepEqual(argv, { b: true, _: [123] });
});