@turf/unkink-polygon
Takes a kinked polygon and returns a feature collection of polygons that have no kinks.
npm install @turf/unkink-polygon Takes a kinked polygon and returns a feature collection of polygons that have no kinks.
npm install @turf/unkink-polygon