@turf/sample
Takes a FeatureCollection and returns a FeatureCollection with given number of features at random.
@turf/turf
a JavaScript library for performing geospatial operations with GeoJSON
pandemonium
Typical random-related functions for JavaScript.