canvas-polyline (npm): This library aims to give a HTML Canvas compatible API which produces all output using **only straight lines**, i.e. it reduces all commands to `moveTo` and `lineTo`. This makes it very easy to then adapt the output to be compatible with many file formats
Keywords: canvas|polyline|canvas straight lines