trace-svg

0.1.6 • Public • Published

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)
    }));

Package Sidebar

Install

npm i trace-svg

Weekly Downloads

26

Version

0.1.6

License

ISC

Unpacked Size

24 MB

Total Files

26

Last publish

Collaborators

  • kimthanh932000