{"name":"@dimforge/rapier3d-compat","version":"0.18.2","keywords":["physics","dynamics","rigid","real-time","joints"],"license":"Apache-2.0","_id":"@dimforge/rapier3d-compat@0.18.2","maintainers":[{"name":"sebcrozet","email":"developer@crozet.re"}],"homepage":"https://rapier.rs","bugs":{"url":"https://github.com/dimforge/rapier.js/issues"},"dist":{"shasum":"31087d36153edeac37fb89f404287bf32a8d757e","tarball":"http://registry-npm.ywwl.com/@dimforge/rapier3d-compat/download/@dimforge/rapier3d-compat-0.18.2.tgz","fileCount":50,"integrity":"sha512-DTXrOsn3ra9ZonB+VyqJc16xnRXWsHVa5FK230Z+R1PJ7q8oSRmWQ+AU6e+IJYBHxkM0a5QVDqd729DyeEhHPA==","signatures":[{"sig":"MEUCICKSZ4KHyjG0UUyACkvemdTJBHphJgaMs3pxo07xdMzkAiEAjk3kiBkX8dj5GDQiivmMPcGBhoVQO4w3A5L5LQZgbrQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8411965,"size":2672498,"noattachment":false,"key":"/@dimforge/rapier3d-compat/-/@dimforge/rapier3d-compat-0.18.2.tgz"},"main":"rapier.cjs","type":"module","types":"rapier.d.ts","module":"rapier.mjs","exports":{".":{"types":"./rapier.d.ts","import":"./rapier.mjs","require":"./rapier.cjs"}},"gitHead":"b79233f4b89091095bb20db87749027b1270f405","_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.18.2_1755098691235_0.5174932150450942","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":1755098691536,"_cnpm_publish_time":1755098691536,"dist-tags":{"canary":"0.0.0-b716d37-20260925","latest":"0.21.0"}}