turf-linetopolygon (npm): A turf module to transform a LineString geometry to a (closed) Polygon geometry.
Keywords: geojson|polygon|linestring|gis