{"name":"@dimforge/rapier3d-compat","version":"0.19.0","keywords":["physics","dynamics","rigid","real-time","joints"],"license":"Apache-2.0","_id":"@dimforge/rapier3d-compat@0.19.0","maintainers":[{"name":"sebcrozet","email":"developer@crozet.re"}],"homepage":"https://rapier.rs","bugs":{"url":"https://github.com/dimforge/rapier.js/issues"},"dist":{"shasum":"a5202ab0402aa44d75b4a1fcf7c1c137be7ff526","tarball":"http://registry-npm.ywwl.com/@dimforge/rapier3d-compat/download/@dimforge/rapier3d-compat-0.19.0.tgz","fileCount":50,"integrity":"sha512-PZ7Gl0fD8kY/AOUr4Wjzko/DwKWtc24MbJ9m4ay4LQfH8U/q5VpbeL+VpzTsnmhAett0uhnSlfH3Mu1F9G5c0A==","signatures":[{"sig":"MEQCIEzDFa2IhbBmmxdDSD4pV/yl7hWmAfh2Lgmn2pCei/hLAiBij7vBjYFVrMqVJHbdhtukudHoojUIitnWmk/zinSQBg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8155855,"size":2588962,"noattachment":false,"key":"/@dimforge/rapier3d-compat/-/@dimforge/rapier3d-compat-0.19.0.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":"9d307cd5489d6f83fe6817b1b16110a54a717be8","_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.19.0_1757109504002_0.6364900277147418","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":1757109504284,"_cnpm_publish_time":1757109504284,"dist-tags":{"canary":"0.0.0-b716d37-20260925","latest":"0.21.0"}}