WASM-Check:Node.js和浏览器中的WebAssembly功能检测库

此库用于在Node.js和浏览器中检测WebAssembly的MVP后功能。它体积小且没有任何依赖。对于MVP后的WebAssembly功能,可在Canary版本中测试并通过以下命令启用一些实验性功能:

/Applications/Google Chrome Canary.app/Contents/MacOS/Google Chrome Canary --js-flags="--experimental-wasm-eh"

此外,还支持检测以下功能:

--experimental-wasm-reftypes
--experimental-wasm-bigint
zip
wasm-check-master.zip 预估大小:14个文件
folder
wasm-check-master 文件夹
file
.gitignore 78B
file
package.json 1KB
folder
dist 文件夹
file
wasm-check.min.js 2KB
file
wasm-check.min.js.map 3KB
file
LICENSE 1KB
file
tsconfig.json 693B
folder
examples 文件夹
file
test.js 313B
file
test.ts 102B
file
README.md 3KB
file
index.ts 4KB
folder
lib 文件夹
file
index.js 4KB
file
index.js.map 5KB
file
index.d.ts 2KB
file
yarn.lock 2KB
zip 文件大小:13.1KB