trace-svg
v0.1.6
Published
A library for tracing svg
Downloads
8
Maintainers
Keywords
Readme
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)
}));