@turf/mask

Takes polygons or multipolygons and an optional mask, and returns an exterior ring polygon with holes.