A minimal SVG to GCODE converter for 2d operations
npm install svgcode
const svgcode = require("svgcode");
const gcode = svgcode()
.loadFile(__dirname + "test/helloworld.svg")
.generateGcode()
.getGcode();
console.log(gcode)
npm test
In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.