Spaces:
Running
Running
Download node_modules/minimist/test/parse_modified.js from Chunte/HFBA: direct link, hf CLI and curl.
- Browser
- Download file 238 Bytes
-
https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/minimist/test/parse_modified.js
- Command line
-
hf download hf://spaces/Chunte/HFBA@refs/pr/1/node_modules/minimist/test/parse_modified.js
-
curl -L -o parse_modified.js https://huggingface.co/spaces/Chunte/HFBA/resolve/refs%2Fpr%2F1/node_modules/minimist/test/parse_modified.js
238 Bytes
| 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] }); | |
| }); | |