{"name":"@rspack/binding","version":"2.0.1","license":"MIT","_id":"@rspack/binding@2.0.1","maintainers":[{"name":"hardfist","email":"1562502418@qq.com"},{"name":"chenjiahan","email":"416417567@163.com"}],"homepage":"https://rspack.rs","bugs":{"url":"https://github.com/web-infra-dev/rspack/issues"},"dist":{"shasum":"20046a6cf7d2f58298d6e46f6f9e959bf9c8a476","tarball":"http://registry-npm.ywwl.com/@rspack/binding/download/@rspack/binding-2.0.1.tgz","fileCount":7,"integrity":"sha512-ynV1gw4KqFtQ0P+ZZh76SUj49wBb2FuHW3zSmHverHWuxBhzvrZS6/dZ+fCFQG8bTTPtrPz0RQUTN3uEDbPVBQ==","signatures":[{"sig":"MEMCHw9EFSjy6Eks7/hhw1DshWeDtSVvW69dLPJBELVyS1ACIEhquAT8gC1y8DayFodmq5YU4JybD3vs0WC9tmjfBdT9","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@rspack%2fbinding@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":116526,"size":25548,"noattachment":false,"key":"/@rspack/binding/-/@rspack/binding-2.0.1.tgz"},"main":"binding.js","napi":{"wasm":{"browser":{"fs":true,"buffer":true,"asyncInit":true,"errorEvent":true},"initialMemory":16384},"targets":["x86_64-apple-darwin","x86_64-pc-windows-msvc","x86_64-unknown-linux-gnu","x86_64-unknown-linux-musl","x86_64-unknown-freebsd","i686-pc-windows-msvc","armv7-unknown-linux-gnueabihf","aarch64-unknown-linux-gnu","aarch64-apple-darwin","aarch64-unknown-linux-musl","aarch64-pc-windows-msvc"],"binaryName":"rspack","packageName":"@rspack/binding"},"_from":"file:rspack-binding-2.0.1.tgz","types":"binding.d.ts","scripts":{"test":"tsc -p tsconfig.type-test.json","build:ci":"node scripts/build.js --profile ci","build:dev":"node scripts/build.js","build:debug":"node scripts/build.js --profile release-debug","move-binding":"node scripts/move-binding","build:release":"node scripts/build.js --profile release","build:dev:wasm":"DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js","build:profiling":"node scripts/build.js --profile profiling","build:dev:browser":"DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads RSPACK_TARGET_BROWSER=1 node scripts/build.js","build:release:wasm":"DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads node scripts/build.js --profile release-wasi","build:release:browser":"DISABLE_PLUGIN=1 RUST_TARGET=wasm32-wasip1-threads RSPACK_TARGET_BROWSER=1 node scripts/build.js --profile release-wasi","wasm-add-external-debug":"node scripts/add-external-debug-info.js rspack.wasm32-wasi.wasm rspack.wasm32-wasi.debug.wasm"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a84de626-3679-4d4b-8a89-807864b97e69"}},"_resolved":"/tmp/d587aef7ee15893d35799e5af7fa5d6b/rspack-binding-2.0.1.tgz","_integrity":"sha512-ynV1gw4KqFtQ0P+ZZh76SUj49wBb2FuHW3zSmHverHWuxBhzvrZS6/dZ+fCFQG8bTTPtrPz0RQUTN3uEDbPVBQ==","repository":{"url":"git+https://github.com/web-infra-dev/rspack.git","type":"git"},"_npmVersion":"11.13.0","description":"Node binding for rspack","directories":{},"_nodeVersion":"24.14.1","publishConfig":{"access":"public","provenance":true},"_hasShrinkwrap":false,"devDependencies":{"emnapi":"1.10.0","typescript":"^6.0.3","@types/node":"^20.19.39","@emnapi/core":"1.10.0","@napi-rs/cli":"3.6.2","@emnapi/runtime":"1.10.0","@napi-rs/wasm-runtime":"1.1.4"},"optionalDependencies":{"@rspack/binding-darwin-x64":"2.0.1","@rspack/binding-wasm32-wasi":"2.0.1","@rspack/binding-darwin-arm64":"2.0.1","@rspack/binding-linux-x64-gnu":"2.0.1","@rspack/binding-linux-x64-musl":"2.0.1","@rspack/binding-win32-x64-msvc":"2.0.1","@rspack/binding-linux-arm64-gnu":"2.0.1","@rspack/binding-win32-ia32-msvc":"2.0.1","@rspack/binding-linux-arm64-musl":"2.0.1","@rspack/binding-win32-arm64-msvc":"2.0.1"},"_npmOperationalInternal":{"tmp":"tmp/binding_2.0.1_1777372329756_0.5035032534147428","host":"s3://npm-registry-packages-npm-production"},"readme":"<picture>\n  <img alt=\"Rspack Banner\" src=\"https://assets.rspack.rs/rspack/rspack-banner.png\">\n</picture>\n\n# @rspack/binding\n\nPrivate node binding crate for rspack.\n\n> Rspack's internal package, don't use it directly in your project, This package does _NOT_ follow [semantic versioning](https://semver.org/).\n\n## Documentation\n\nSee [https://rspack.rs](https://rspack.rs) for details.\n\n## Update Wasm binding\n\nThe generation of `rspack.wasi-browser.js` and `rspack.wasi.js` is disabled by default because `@napi/cli` produces unstable output for these files. To update the Wasm bindings, add `wasm32-wasip1-threads` to the `napi.targets` field in `package.json` before building the project.\n\n## License\n\nRspack is [MIT licensed](https://github.com/web-infra-dev/rspack/blob/main/LICENSE).\n","publish_time":1777372329890,"_cnpm_publish_time":1777372329890,"dist-tags":{"alpha":"2.0.0-alpha.1","beta":"2.3.0-beta.1","canary":"2.2.0-beta.1","latest":"2.3.1","latest-v1":"1.7.12","nightly":"0.7.6-canary-f272bd8-20240625122346","rc":"2.3.0-rc.0","snapshot":"0.0.0-canary-2d5264852-20230525090643","snapshot,test":"0.0.0-20220909030737"}}