Skip to content

Commit 2b669ce

Browse files
committed
add usages in stackblitz
1 parent 53a161c commit 2b669ce

File tree

4 files changed

+14
-10
lines changed

4 files changed

+14
-10
lines changed

src/docs/guide/usage/minifier.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ We recommend thoroughly testing its output before deploying to production enviro
99

1010
### Node.js
1111

12-
Use the node binding [oxc-minify][url-oxc-minify-npm].
12+
- Use the node binding [oxc-minify][url-oxc-minify-npm].
13+
- Try on [stackblitz](https://stackblitz.com/edit/oxc-minify).
1314

1415
### Rust
1516

src/docs/guide/usage/parser.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,17 @@ This is production ready.
1919

2020
## Installation
2121

22+
### Node.js
23+
24+
- Use the node binding [oxc-parser][url-oxc-parser-npm].
25+
- Try on [stackblitz](https://stackblitz.com/edit/oxc-parser).
26+
2227
### Rust
2328

2429
Use the umbrella crate [oxc][url-oxc-crate] or the individual [oxc_ast][url-oxc-ast-crate] and [oxc_parser][url-oxc-parser-crate] crates.
2530

2631
Rust usage example can be found [here](https://github.com/oxc-project/oxc/blob/main/crates/oxc_parser/examples/parser.rs).
2732

28-
### Node.js (NAPI)
29-
30-
Try the node binding [oxc-parser][url-oxc-parser-npm].
31-
3233
<!-- Links -->
3334

3435
[url-swc]: https://swc.rs

src/docs/guide/usage/resolver.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,14 @@ Node.js cjs and esm path resolution.
2020

2121
## Installation
2222

23-
### Rust
23+
### Node.js
2424

25-
See [https://crates.io/crates/oxc_resolver][url-oxc-resolver-crate] and its documentation [https://docs.rs/oxc_resolver][url-oxc-resolver-docs].
25+
- Use the node binding [oxc-resolver][url-oxc-resolver-npm].
26+
- Try on [stackblitz](https://stackblitz.com/edit/oxc-resolver).
2627

27-
### Node.js
28+
### Rust
2829

29-
See [oxc-resolver][url-oxc-resolver-npm] for node binding via napi.
30+
See [https://crates.io/crates/oxc_resolver][url-oxc-resolver-crate] and its documentation [https://docs.rs/oxc_resolver][url-oxc-resolver-docs].
3031

3132
<!-- Links -->
3233

src/docs/guide/usage/transformer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010

1111
### Node.js
1212

13-
Use the node binding [oxc-transform][url-oxc-transform-npm].
13+
- Use the node binding [oxc-transform][url-oxc-transform-npm].
14+
- Try on [stackblitz](https://stackblitz.com/edit/oxc-transform).
1415

1516
### Rust
1617

0 commit comments

Comments
 (0)