diff --git a/docs/.gitignore b/docs/.gitignore index b2d6de3..bcf1e57 100644 --- a/docs/.gitignore +++ b/docs/.gitignore @@ -18,3 +18,5 @@ npm-debug.log* yarn-debug.log* yarn-error.log* + +package-lock.json \ No newline at end of file diff --git a/docs/docs/examples.md b/docs/docs/examples.md new file mode 100644 index 0000000..2e1633e --- /dev/null +++ b/docs/docs/examples.md @@ -0,0 +1,61 @@ +--- +sidebar_position: 6 +--- + +# Examples + +This is a collection of examples including all supported languages with Wasm Workers Server. + +## Javascript + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-basic/) +* [async](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-async/) +* [catchall](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-catchall/) +* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-fetch/) +* [Hono](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-hono/) +* [JSON](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-json/) +* [Modules](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-modules/) +* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-params/) +* [redirect](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-redirect/) +* [tictactoe](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/js-tictactoe/) + +## Rust + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-basic/) +* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-fetch/) +* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-kv/) +* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-params/) +* [pdf-create](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-pdf-create/) +* [pdf-wasi-nn](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-wasi-nn/) +* [pdf-wasi-nn-preload](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/rust-wasi-nn-preload/) + +## Python + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-basic/) +* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-envs/) +* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-kv/) +* [libs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-libs/) +* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/python-mount/) + +## Ruby + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-basic/) +* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-envs/) +* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-kv/) +* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/ruby-mount/) + +## Go + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-basic/) +* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-envs/) +* [fetch](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-fetch/) +* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-kv/) +* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/go-params/) + +## Zig + +* [basic](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-basic/) +* [envs](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-envs/) +* [kv](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-kv/) +* [mount](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-mount/) +* [params](https://github.com/vmware-labs/wasm-workers-server/tree/main/examples/zig-params/) \ No newline at end of file