Repository navigation
Releases
Releases · puddi-lang/puddi-web
Puddi Web v0.2.0
Puddi Web now supports bidirectional JavaScript calls on the Puddi v0.1.2 browser target.
- Register named JS functions with loadWeb bindings and call them with js.call or js.call_async.
- Expose synchronous Puddi handlers with js.expose and invoke them from JavaScript with app.callPuddi.
- Pass JSON values in both directions, handle errors on either side, and remove registered handlers with js.unexpose.
Install with pud add github.com/puddi-lang/puddi-web@0.2.0 and use the attached adapter with the generated puddi.mjs.
Puddi Web v0.1.0
The first official Puddi package adapts the browser platform for Puddi v0.1.2.
- Native Fetch with relative URLs, JSON, credentials, and deadlines
- URL and query handling, plus browser history
- Namespaced local and session storage
- DOM bindings and native form submission handlers
- A runnable Field Notes example
Install with pud add github.com/puddi-lang/puddi-web@0.1.0. Use the attached puddi-web.mjs alongside the puddi.mjs emitted by pud build --target browser.