{"name":"@dimforge/rapier3d-compat","version":"0.12.0","keywords":["physics","dynamics","rigid","real-time","joints"],"license":"Apache-2.0","_id":"@dimforge/rapier3d-compat@0.12.0","maintainers":[{"name":"sebcrozet","email":"developer@crozet.re"}],"homepage":"https://rapier.rs","bugs":{"url":"https://github.com/dimforge/rapier.js/issues"},"dist":{"shasum":"7b3365e1dfdc5cd957b45afe920b4ac06c7cd389","tarball":"http://registry-npm.ywwl.com/@dimforge/rapier3d-compat/download/@dimforge/rapier3d-compat-0.12.0.tgz","fileCount":51,"integrity":"sha512-uekIGetywIgopfD97oDL5PfeezkFpNhwlzlaEYNOA0N6ghdsOvh/HYjSMek5Q2O1PYvRSDFcqFVJl4r4ZBwOow==","signatures":[{"sig":"MEYCIQDuNC6++qzJQez3DrvkYLA1H93OKenNkizrrwB7iPOLnAIhAO0Lv8+DmhRFTEWBeuExvttuVWNSNnOE7EgEAvTG0LjU","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7522790,"size":2348060,"noattachment":false,"key":"/@dimforge/rapier3d-compat/-/@dimforge/rapier3d-compat-0.12.0.tgz"},"main":"rapier.cjs.js","types":"rapier.d.ts","module":"rapier.es.js","gitHead":"98015b1871f4da6ba320f9ec6f34fe34367b088b","_npmUser":{"name":"sebcrozet","email":"developer@crozet.re"},"repository":{"url":"git+https://github.com/dimforge/rapier.js.git","type":"git"},"_npmVersion":"8.15.0","description":"3-dimensional physics engine in Rust - official JS bindings. Compatibility package with inlined webassembly as base64.","directories":{},"sideEffects":["./snippets/*"],"_nodeVersion":"16.17.0","collaborators":["Sébastien Crozet <developer@crozet.re>"],"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rapier3d-compat_0.12.0_1706463873752_0.8386181970263831","host":"s3://npm-registry-packages"},"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":1706463873982,"_cnpm_publish_time":1706463873982,"dist-tags":{"canary":"0.0.0-b716d37-20260925","latest":"0.21.0"}}