Trace SVG
A trace-svg
library to trace images.
Example Usgae
const client = require('trace-svg');
const image = require('image.png');
const dataPath = './data'
client.trace(image)
/** Write data to target dir **/
.then((res) => client.write(dataPath, fileName, res)
.catch(err => {
console.log('Failed to trace image: ', error?.message || error)
}));