mirror of
https://github.com/gnh1201/welsonjs.git
synced 2024-11-26 15:31:42 +00:00
Created Remote Script Execution (markdown)
parent
5731988bda
commit
cf9a2dc4ab
13
Remote-Script-Execution.md
Normal file
13
Remote-Script-Execution.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
## Remote Script Execution
|
||||
Starting from version 0.2.7.19, WelsonJS supports the Remote Script Execution feature. You can test it as follows:
|
||||
|
||||
```sh
|
||||
cscript app.js https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/helloworld.js
|
||||
```
|
||||
|
||||
If you want to use it within your code, you can do it like this:
|
||||
|
||||
```js
|
||||
var HELO = require("https://pub-f926e14287b340cd9eff33731bb25329.r2.dev/helloworld.js");
|
||||
HELO.main();
|
||||
```
|
Loading…
Reference in New Issue
Block a user