bytecodealliance / javy

JS to WebAssembly toolchain
Apache License 2.0
2.1k stars 101 forks source link

Update extending doc with an example #606

Closed jeffcharles closed 5 months ago

jeffcharles commented 5 months ago

Description of the change

Removes language saying that the developer extending Javy should fork the CLI and javy-core and clarify that they can fork them if they would like. Also add a code example of what extending Javy with additional JS APIs could look like.

Why am I making this change?

We got a question on Zulip that indicated the developer was not sure how to extend Javy and thought they needed to use a fork of our CLI so this provides an example and softens the language around forking.

Checklist