bare 1.2.2 → 1.2.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 +11 -7
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -8,20 +8,24 @@ npm i -g bare
|
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
11
|
-
```
|
|
11
|
+
```console
|
|
12
12
|
bare [flags] <filename> [...args]
|
|
13
13
|
|
|
14
|
+
Evaluate a script or start a REPL session if no script is provided.
|
|
15
|
+
|
|
14
16
|
Arguments:
|
|
15
|
-
<filename>
|
|
16
|
-
[...args]
|
|
17
|
+
<filename> The name of a script to evaluate
|
|
18
|
+
[...args] Additional arguments made available to the script
|
|
17
19
|
|
|
18
20
|
Flags:
|
|
19
|
-
--version|-v
|
|
20
|
-
--eval|-e <script>
|
|
21
|
-
--print|-p <script>
|
|
22
|
-
--help|-h
|
|
21
|
+
--version|-v Print the Bare version
|
|
22
|
+
--eval|-e <script> Evaluate an inline script
|
|
23
|
+
--print|-p <script> Evaluate an inline script and print the result
|
|
24
|
+
--help|-h Show help
|
|
23
25
|
```
|
|
24
26
|
|
|
27
|
+
The specified `<script>` or `<filename>` is run using `Module.load()`. For more information on the module system and the supported formats, see <https://github.com/holepunchto/bare-module>.
|
|
28
|
+
|
|
25
29
|
When imported, the module exports the global `Bare` namespace. See <https://github.com/holepunchto/bare#api> for the API documentation.
|
|
26
30
|
|
|
27
31
|
```js
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bare",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.3",
|
|
4
4
|
"description": "Small and modular JavaScript runtime for desktop and mobile",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -27,6 +27,6 @@
|
|
|
27
27
|
},
|
|
28
28
|
"homepage": "https://github.com/holepunchto/bare",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"bare-runtime": "1.2.
|
|
30
|
+
"bare-runtime": "1.2.3"
|
|
31
31
|
}
|
|
32
32
|
}
|