一套代码同时编译到 WebAssembly 和 Node.js 原生模块。
npm install --ignore-scripts
npm run clean
# Windows
npm run cmake:win
# Linux / macOS
# npm run cmake:unix
npm run cmake:build
VSCode Live Server 打开 docs/index.html
。
npm run gyp:rebuild
npm test
一套代码同时编译到 WebAssembly 和 Node.js 原生模块。
npm install --ignore-scripts
npm run clean
# Windows
npm run cmake:win
# Linux / macOS
# npm run cmake:unix
npm run cmake:build
VSCode Live Server 打开 docs/index.html
。
npm run gyp:rebuild
npm test