{"name":"@dimforge/rapier3d-compat","version":"0.20.0","keywords":["physics","dynamics","rigid","real-time","joints"],"license":"Apache-2.0","_id":"@dimforge/rapier3d-compat@0.20.0","maintainers":[{"name":"sebcrozet","email":"developer@crozet.re"}],"homepage":"https://rapier.rs","bugs":{"url":"https://github.com/dimforge/rapier/issues"},"dist":{"shasum":"a3e5ab3dd0f13d28a6933589b8b8a869c63574ee","tarball":"http://registry-npm.ywwl.com/@dimforge/rapier3d-compat/download/@dimforge/rapier3d-compat-0.20.0.tgz","fileCount":52,"integrity":"sha512-X4W9pJBdGRX5CO3c/gUNjBFEFG2fn4nYxp9k8STdBDaLa0/w5XTW2ArpayS+9jGFojTi3uFSOWAElCd4rkpekA==","signatures":[{"sig":"MEQCIClAZc4eS7/uNWnH24Lso3H/lR5dBeBlbGFYEELTPJmhAiBccqWyn70ORfcPvDroAwYZ6PsNMIrTXEO6nxtkAKIZZw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCxWlvzzv20p/ukGlc3YBWycufT02C060BOIPAMMRVDIQIgMtP4lov7eLXKdmlFX+cyKQBlH/Eywy18J1vx4/CsNPI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dimforge%2frapier3d-compat@0.20.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":10170768,"size":3316431,"noattachment":false,"key":"/@dimforge/rapier3d-compat/-/@dimforge/rapier3d-compat-0.20.0.tgz"},"main":"dist/rapier.cjs","types":"dist/rapier.d.ts","module":"dist/rapier.mjs","exports":{".":{"types":"./dist/rapier.d.ts","import":"./dist/rapier.mjs","require":"./dist/rapier.cjs"}},"gitHead":"3e12c2679cb1940a876bde93af9cec0cf2f57944","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5c6d3de6-d6ab-4b69-8ad9-514e8437cf86"}},"repository":{"url":"git+https://github.com/dimforge/rapier.git","type":"git"},"_npmVersion":"12.0.2","description":"3-dimensional physics engine in Rust - official JS bindings. Compatibility package with inlined webassembly as base64.","directories":{},"sideEffects":false,"_nodeVersion":"22.23.1","collaborators":["Sébastien Crozet <developer@crozet.re>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rapier3d-compat_0.20.0_1786226827105_0.9142415679908278","host":"s3://npm-registry-packages-npm-production"},"readme":"<p align=\"center\">\n  <img src=\"https://www.rapier.rs/img/rapier_logo_color_textpath_dark.svg\" alt=\"crates.io\">\n</p>\n<p align=\"center\">\n    <a href=\"https://discord.gg/vt9DJSW\">\n        <img src=\"https://img.shields.io/discord/507548572338880513.svg?logo=discord&colorB=7289DA\">\n    </a>\n    <a href=\"https://github.com/dimforge/rapier/actions/workflows/typescript-bindings.yml\">\n        <img src=\"https://github.com/dimforge/rapier/actions/workflows/typescript-bindings.yml/badge.svg\" alt=\"Build status\">\n    </a>\n    <a href=\"https://crates.io/crates/rapier3d\">\n         <img src=\"https://img.shields.io/crates/v/rapier3d.svg?style=flat-square\" alt=\"crates.io\">\n    </a>\n    <a href=\"https://www.npmjs.com/package/@dimforge/rapier3d\">\n        <img src=\"https://badge.fury.io/js/%40dimforge%2Frapier3d.svg\" alt=\"npm version\">\n    </a>\n    <a href=\"https://opensource.org/licenses/Apache-2.0\">\n        <img src=\"https://img.shields.io/badge/License-Apache%202.0-blue.svg\">\n    </a>\n</p>\n<p align = \"center\">\n    <strong>\n        <a href=\"https://rapier.rs\">Website</a> | <a href=\"https://rapier.rs/docs/\">Documentation</a>\n    </strong>\n</p>\n\n---\n\n<p align = \"center\">\n<b>3D physics engine</b>\n<i>for the JavaScript programming language (official bindings).</i>\n</p>\n\n---\n\n## Feature selection\n\nMultiple NPM packages exist for Rapier, depending on your needs:\n- [`@dimforge/rapier2d`](https://www.npmjs.com/package/@dimforge/rapier2d) or\n  [`@dimforge/rapier3d`](https://www.npmjs.com/package/@dimforge/rapier3d):\n  The main build of the Rapier physics engine for 2D or 3D physics simulation. This should have wide browser\n  support while offering great performances. This does **not** guarantee cross-platform determinism of the physics\n  simulation (but it is still locally deterministic, on the same machine).\n- [`@dimforge/rapier2d-simd`](https://www.npmjs.com/package/@dimforge/rapier2d-simd) or\n  [`@dimforge/rapier3d-simd`](https://www.npmjs.com/package/@dimforge/rapier3d-simd):\n  A build with internal SIMD optimizations enabled. More limited browser support (requires support for [simd128](https://caniuse.com/?search=simd)).\n- [`@dimforge/rapier2d-deterministic`](https://www.npmjs.com/package/@dimforge/rapier2d-deterministic) or\n  [`@dimforge/rapier3d-deterministic`](https://www.npmjs.com/package/@dimforge/rapier3d-deterministic):\n  A less optimized build but with a guarantee of a cross-platform deterministic execution of the physics simulation.\n\n## Bundler support\n\nSome bundlers will struggle with the `.wasm` file package into the builds above. Alternative `-compat` versions exist\nwhich embed the `.wasm` file into the `.js` sources encoded with base64. This results in a bigger package size, but\nmuch wider bundler support.\n\nJust append `-compat` to the build you are interested in:\n[`rapier2d-compat`](https://www.npmjs.com/package/@dimforge/rapier2d-compat),\n[`rapier2d-simd-compat`](https://www.npmjs.com/package/@dimforge/rapier2d-simd-compat),\n[`rapier2d-deterministic-compat`](https://www.npmjs.com/package/@dimforge/rapier2d-deterministic-compat),\n[`rapier3d-compat`](https://www.npmjs.com/package/@dimforge/rapier3d-compat),\n[`rapier3d-simd-compat`](https://www.npmjs.com/package/@dimforge/rapier3d-simd-compat),\n[`rapier3d-deterministic-compat`](https://www.npmjs.com/package/@dimforge/rapier3d-deterministic-compat).\n\n## Nightly builds\n\nEach time a new Pull Request is merged to the `master` branch of the [`rapier` repository](https://github.com/dimforge/rapier),\nan automatic _canary_ build is triggered. Builds published to npmjs under the _canary_ tag does not come with any\nstability guarantee and does not follow semver versioning. But it can be a useful solution to try out the latest\nfeatures until a proper release is cut.","publish_time":1786226827293,"_cnpm_publish_time":1786226827293,"dist-tags":{"canary":"0.0.0-b716d37-20260925","latest":"0.21.0"}}