You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/docs/examples.mdx
+3-2
Original file line number
Diff line number
Diff line change
@@ -7,8 +7,9 @@ description: Explore our collection of examples to get started with ark.env
7
7
## Examples
8
8
9
9
| Name | Description |
10
-
|------|-------------|
11
-
|[basic](https://github.com/yamcodes/ark.env/tree/main/examples/basic)| A minimal example showing *how to use `ark.env` in a [Bun](https://bun.sh/) application*. Perfect for learning the fundamentals. |
10
+
| --- | --- |
11
+
|[`basic`](./basic)| A minimal example showing *how to use `ark.env` in a [Node.js](https://nodejs.org/) application*. Perfect for learning the fundamentals. |
12
+
|[`with-bun`](./with-bun)| A minimal example showing *how to use `ark.env` in a [Bun](https://bun.sh/) application*. Perfect for learning the fundamentals. |
Copy file name to clipboardExpand all lines: examples/README.md
+4-19
Original file line number
Diff line number
Diff line change
@@ -4,23 +4,10 @@ This directory contains a collection of example projects that demonstrate variou
4
4
5
5
## Examples
6
6
7
-
-[`basic`](./basic) - A minimal example showing *how to use `ark.env` in a [Bun](https://bun.sh/) application*. Perfect for learning the fundamentals.
8
-
9
-
## Running an example
10
-
11
-
Each example is a self-contained project with its own `package.json` and dependencies. To run an example:
12
-
13
-
1. Navigate to the example directory:
14
-
```bash
15
-
cd examples/<example-name>
16
-
```
17
-
18
-
2. Install dependencies:
19
-
```bash
20
-
bun install
21
-
```
22
-
23
-
3. Follow the example-specific instructions in its README.
7
+
| Name | Description |
8
+
| --- | --- |
9
+
|[`basic`](./basic)| A minimal example showing *how to use `ark.env` in a [Node.js](https://nodejs.org/) application*. Perfect for learning the fundamentals. |
10
+
|[`with-bun`](./with-bun)| A minimal example showing *how to use `ark.env` in a [Bun](https://bun.sh/) application*. Perfect for learning the fundamentals. |
24
11
25
12
## Contributing an example
26
13
@@ -31,8 +18,6 @@ New examples are welcome! If you'd like to contribute an example:
31
18
3. Ensure the example is self-contained and includes all necessary files
32
19
4. Add the example to this README's list of examples
0 commit comments