{"name":"@dimforge/rapier3d-compat","version":"0.17.2","keywords":["physics","dynamics","rigid","real-time","joints"],"license":"Apache-2.0","_id":"@dimforge/rapier3d-compat@0.17.2","maintainers":[{"name":"sebcrozet","email":"developer@crozet.re"}],"homepage":"https://rapier.rs","bugs":{"url":"https://github.com/dimforge/rapier.js/issues"},"dist":{"shasum":"6316fe02d9f6b58f146b78242dec9af76b658fe8","tarball":"http://registry-npm.ywwl.com/@dimforge/rapier3d-compat/download/@dimforge/rapier3d-compat-0.17.2.tgz","fileCount":50,"integrity":"sha512-yPgM3FQ0RwRLMDrJDs5E0wHIkrYfcktaDi6rGDTwA6xRfoRUT224+gOmEZRb0WTQ6+UD9oG3YFYjykHJ3PO59Q==","signatures":[{"sig":"MEUCIGjVogfRF/qrnryqN5x8uElVl/g3mO5WV8/9cT/l8xmsAiEAvCnkKq8/NuSWn/U6fzBqYlhA0Fd6HDHy5GHT2mZoSf0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8632875,"size":2760108,"noattachment":false,"key":"/@dimforge/rapier3d-compat/-/@dimforge/rapier3d-compat-0.17.2.tgz"},"main":"rapier.cjs.js","types":"rapier.d.ts","module":"rapier.es.js","gitHead":"ea0490cad332e9e6fab23c12892ef4b00c4dbfe5","_npmUser":{"name":"sebcrozet","email":"developer@crozet.re"},"repository":{"url":"git+https://github.com/dimforge/rapier.js.git","type":"git"},"_npmVersion":"10.9.2","description":"3-dimensional physics engine in Rust - official JS bindings. Compatibility package with inlined webassembly as base64.","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"22.14.0","collaborators":["Sébastien Crozet <developer@crozet.re>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rapier3d-compat_0.17.2_1748625442559_0.005317373500476341","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":1748625442943,"_cnpm_publish_time":1748625442943,"dist-tags":{"canary":"0.0.0-b716d37-20260925","latest":"0.21.0"}}