Like there exists
https://github.com/wasi-gfx/wasi-webgpu-headers/blob/main/wit/world.wit
for webgpu.
Is there any similar proposals ongoing for webnn? Like bindings for: https://github.com/webmachinelearning/webnn-native
https://github.com/webAssembly/wasi-nn is a thing.
Don't know how well it makes to WebNN though.
Ohh idk why i was just searching in bytecodealliance.
Anyway thanks, this works.
you could also use https://github.com/wasi-gfx/webidl2wit to generate bindings. wasi-nn and webnn don't map
Last updated: Nov 19 2026 at 20:05 UTC