{"library":"gcode-parser","type":"library","category":null,"description":"G-code parser for Node.js, current stable version 2.2.0. Maintained as part of the cncjs ecosystem. Provides synchronous and asynchronous parsing of G-code strings, lines, files, and streams. Key differentiators: supports line modes (original, stripped, compact) and flatten option for word representation. Used widely in CNC toolpath generation and visualization.","language":"javascript","status":"active","version":"2.2.0","tags":["javascript","cnc","gcode"],"last_verified":"Sat May 09","install":[{"cmd":"npm install gcode-parser","imports":["const parser = require('gcode-parser');","parser.parseLine('G0 X0 Y0');","parser.parseFile('file.nc', callback);","const results = parser.parseStringSync('G0 X0');"]},{"cmd":"yarn add gcode-parser","imports":[]},{"cmd":"pnpm add gcode-parser","imports":[]}],"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/gcode-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}