@turf/line-slice-along

Useful for extracting only the part of a route between two distances.

Browse on unpkg