Skip to content

Commit ac0ac1c

Browse files
committed
move modules section
1 parent 6156205 commit ac0ac1c

File tree

2 files changed

+33
-31
lines changed

2 files changed

+33
-31
lines changed

bare-reference/bare-module.md renamed to bare-reference/bare-modules.md

+30-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bare Module
1+
# Bare Modules
22

33
Module support for JavaScript.
44

@@ -12,6 +12,35 @@ npm i bare-module
1212
const Module = require('bare-module')
1313
````
1414

15+
## External Modules for Bare
16+
Supported Modules |
17+
:--- |
18+
<https://github.com/holepunchto/bare-abort>
19+
<https://github.com/holepunchto/bare-assert>
20+
<https://github.com/holepunchto/bare-atomics>
21+
<https://github.com/holepunchto/bare-buffer>
22+
<https://github.com/holepunchto/bare-bundle>
23+
<https://github.com/holepunchto/bare-channel>
24+
<https://github.com/holepunchto/bare-console>
25+
<https://github.com/holepunchto/bare-env>
26+
<https://github.com/holepunchto/bare-events>
27+
<https://github.com/holepunchto/bare-fs>
28+
<https://github.com/holepunchto/bare-hrtime>
29+
<https://github.com/holepunchto/bare-http1>
30+
<https://github.com/holepunchto/bare-inspect>
31+
<https://github.com/holepunchto/bare-module>
32+
<https://github.com/holepunchto/bare-os>
33+
<https://github.com/holepunchto/bare-path>
34+
<https://github.com/holepunchto/bare-pipe>
35+
<https://github.com/holepunchto/bare-process>
36+
<https://github.com/holepunchto/bare-readline>
37+
<https://github.com/holepunchto/bare-repl>
38+
<https://github.com/holepunchto/bare-signals>
39+
<https://github.com/holepunchto/bare-subprocess>
40+
<https://github.com/holepunchto/bare-timers>
41+
<https://github.com/holepunchto/bare-tty>
42+
<https://github.com/holepunchto/bare-url>
43+
1544
## Packages
1645

1746
A package is directory with a `package.json` file.

bare-reference/overview.md

+3-30
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ npm i -g bare-runtime
1616
bare [-e, --eval <script>] [-p, --print <script>] [<filename>]
1717
```
1818

19-
The specified `<script>` or `<filename>` is run using `Module.load()`. For more information on the module system and the supported formats, see [Bare Module](https://github.com/holepunchto/bare-module).
19+
The specified `<script>` or `<filename>` is run using `Module.load()`. For more information on the module system and the supported formats, see [Bare Modules](./bare-modules.md).
2020

2121
## Architecture
2222

@@ -33,35 +33,8 @@ Find the Bare API specs [here](./api.md).
3333

3434
### Modules
3535

36-
Bare provides no standard library beyond the core JavaScript API available through the `Bare` namespace. Instead, there is a comprehensive collection of external modules built specifically for Bare:
37-
38-
Modules |
39-
:--- |
40-
<https://github.com/holepunchto/bare-abort>
41-
<https://github.com/holepunchto/bare-assert>
42-
<https://github.com/holepunchto/bare-atomics>
43-
<https://github.com/holepunchto/bare-buffer>
44-
<https://github.com/holepunchto/bare-bundle>
45-
<https://github.com/holepunchto/bare-channel>
46-
<https://github.com/holepunchto/bare-console>
47-
<https://github.com/holepunchto/bare-env>
48-
<https://github.com/holepunchto/bare-events>
49-
<https://github.com/holepunchto/bare-fs>
50-
<https://github.com/holepunchto/bare-hrtime>
51-
<https://github.com/holepunchto/bare-http1>
52-
<https://github.com/holepunchto/bare-inspect>
53-
<https://github.com/holepunchto/bare-module>
54-
<https://github.com/holepunchto/bare-os>
55-
<https://github.com/holepunchto/bare-path>
56-
<https://github.com/holepunchto/bare-pipe>
57-
<https://github.com/holepunchto/bare-process>
58-
<https://github.com/holepunchto/bare-readline>
59-
<https://github.com/holepunchto/bare-repl>
60-
<https://github.com/holepunchto/bare-signals>
61-
<https://github.com/holepunchto/bare-subprocess>
62-
<https://github.com/holepunchto/bare-timers>
63-
<https://github.com/holepunchto/bare-tty>
64-
<https://github.com/holepunchto/bare-url>
36+
Bare provides no standard library beyond the core JavaScript API available through the `Bare` namespace. Instead, there is a comprehensive collection of external modules built specifically for Bare, see [Bare Modules](./bare-modules.md#external-modules-for-bare)
37+
6538

6639
### Embedding
6740

0 commit comments

Comments
 (0)