svg-replace-bezier is a library for replacing bezier curves with line segments
This is accomplished by using svg-path-parse to parse the path, and using a portion of the antigrain geometry library compiled with emscripten to convert the bezier curves to line segments.
example
var replaceBezier = ;replaceBezier; /* outputs 'M100,200 L100.146484375,....' */