detect-collisions
Points, Lines, Boxes, Polygons (also hollow), Ellipses, Circles. RayCasting, offsets, rotation, scaling, bounding box padding, flags for static and ghost/trigger bodies
concaveman
Fast 2D concave hull algorithm in JavaScript (generates an outline of a point set)