Simplify SVG paths to reduce the number of points in paths in Whiteboard

Job ID: 37558863

Budget: $30 – $250 USD

I'm developing an open source WBO whiteboard: https://github.com/lovasoa/whitebophir.
In order to optimize better pen writing I need to simplify the svg path. For this purpose, I want to implement the ready-made library extracted Path#simplify() from Paper.js into this WBO Whiteboard called simplify-svg-path url https://github.com/luncheon/simplify-svg-path
You can test here https://luncheon.github.io/simplify-svg-path/index.html
Svg paths in WBO whiteboard are already optimized and simplified with some kind of smoothing logics.
But the most perfect optimization is done by paper.js. An algorithm below
https://github.com/luncheon/simplify-svg-path/blob/main/index.iife.js
I need to optimize paths only (reduce number of nodes).
Please bid only experts.
My requests is:
Your work would be to integrate this library/ algorithm with pencil tool to simplify <path>. In other words to optimize pen writing on WBO Whiteboard.
Related categories: JavaScript Algorithm HTML5 Node.js SVG