Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
alt-nodejs18
/
root
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
nopt
/
bin
[ HOME ]
Exec
Submit
nopt.js
#!/opt/alt/alt-nodejs18/root/usr/bin/node const nopt = require('../lib/nopt') const path = require('path') console.log('parsed', nopt({ num: Number, bool: Boolean, help: Boolean, list: Array, 'num-list': [Number, Array], 'str-list': [String, Array], 'bool-list': [Boolean, Array], str: String, clear: Boolean, config: Boolean, length: Number, file: path, }, { s: ['--str', 'astring'], b: ['--bool'], nb: ['--no-bool'], tft: ['--bool-list', '--no-bool-list', '--bool-list', 'true'], '?': ['--help'], h: ['--help'], H: ['--help'], n: ['--num', '125'], c: ['--config'], l: ['--length'], f: ['--file'], }, process.argv, 2))
Submit
Back
Folder Name
Submit
File Name
File Content
Submit
Name
Type
Size
Permission
Last Modified
Actions
.
dir
-
0755
2025-06-26 05:06:20
..
dir
-
0755
2025-06-26 05:06:20
nopt.js
text/plain
666 B
0755
2025-06-05 11:30:10