Apply Ramer-Douglas-Peucker line simplification to GeoJSON features or feature collections in JS or on the CLI