6 ms·
yes the big win from this is the Node API / NAPI support , if you write node_modules in nodejs , electron , raycast , edgejs you can reuse it . https://wasmer.
by liamgm 3mo ago
yes the big win from this is the Node API / NAPI support , if you write node_modules in nodejs , electron , raycast , edgejs you can reuse it .
https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbo...
"NAPI allows native Node dependencies to target Node without actually depending on a specific version of Node or V8. NAPI abstracted the V8 JS engine away, by providing JS-like APIs for: creating an object, declaring a property, etc.
NAPI is the contract that all modern native Node modules use to interact with Javascript." [1]
1: https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbox https://wasmer.io/posts/edgejs-safe-nodejs-using-wasm-sandbo...