Seems like they still have to update their stuff a fair few places...
Now I'm just struggling to use the package registry, none of the copy and paste examples have worked for me, but I'm sure I can figure it out. Will post here if I do.
i thought it was interesting and few (3-4) people would like it. i ABSOLUTELY did not expect for anyone to actually look at this with any amount of thought nor care.
it is a hack that this works and is guaranteed something that does not make OpenAI happy. rewriting to reflect this.
I tried it with Bun and I feel weird showing examples that don't seem to run.
> $ npm install @wasmer/sdk
```js import { Wasmer } from "@wasmer/sdk";
let cowsay = Wasmer.fromRegistry("cowsay"); let instance = await cowsay.entrypoint.run({ args: "\"Hello world\"" }); let output = await instance.wait(); ```
I also tried to use the <script> approach and I cannot get it working on a local dev server due to CORS.