Image optimizer by converting to SVG. Demo
yarn add cute-svg
const cute = require('cute-svg')
const fs = require('fs')
const inputFile = __dirname + '/sample.jpg'
const outputFile = __dirname + '/output.json'
cute({ filePath: inputFile })
.then(svg => fs.writeFileSync(outputFile, svg))
.catch(e => console.log(e))
// OUTPUT
// { tracedSvg: String, aspectRatio: Number }
133kb
36kb