The original repo has long been unmaintained, we have forked it, upgraded it to esm so that it can be tree-shaken, types are in the making, bugfixes in the original repo are being merged, and some new corrections, convexpolyhydrons are working properly in this version for instance. We also accept PR’s and issues.
Package size (all features included) is currently 33kb. For a simple case (World, Body, Box, Vecs, NaiveBroadphase) it’s about 20.
PS. React users can use an easier abstraction running in a web worker: https://github.com/react-spring/use-cannon