@devscholar/vbs-engine-js 0.0.1 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -2
- package/dist/vbs-engine.js +653 -391
- package/dist/vbs-engine.js.map +1 -1
- package/dist/vbs-engine.umd.cjs +22 -13
- package/dist/vbs-engine.umd.cjs.map +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,6 +12,8 @@ npm install
|
|
|
12
12
|
|
|
13
13
|
## Running Examples
|
|
14
14
|
|
|
15
|
+
See [quick-start.md](docs/quick-start.md) for more information.
|
|
16
|
+
|
|
15
17
|
### HTML Example (Browser)
|
|
16
18
|
|
|
17
19
|
Start the development server and open the example page:
|
|
@@ -33,7 +35,7 @@ npx vite examples/index.html
|
|
|
33
35
|
Run the Node.js demo that shows how to use VBScript with Node.js modules:
|
|
34
36
|
|
|
35
37
|
```bash
|
|
36
|
-
|
|
38
|
+
node --experimental-transform-types examples/node-demo.ts
|
|
37
39
|
```
|
|
38
40
|
|
|
39
41
|
This example demonstrates:
|
|
@@ -113,7 +115,7 @@ const greeting = engine.eval('"Hello, " & name & "!"');
|
|
|
113
115
|
console.log(greeting); // "Hello, World!"
|
|
114
116
|
```
|
|
115
117
|
|
|
116
|
-
Run with `
|
|
118
|
+
Run with `node --experimental-transform-types examples/node-demo.ts`.
|
|
117
119
|
|
|
118
120
|
## API Reference
|
|
119
121
|
|