Streaming Gerber/Drill File Parser
JSON →gerber-parser is a JavaScript/TypeScript library that provides a streaming parser for Gerber (RS-274X) and NC drill files, commonly used for Printed Circuit Board (PCB) manufacturing. It functions as a Node.js transform stream, taking a text stream of a Gerber file and emitting structured JavaScript objects representing the file's contents, which can then be consumed by PCB visualization or plotting tools. The library is part of the Tracespace collection of open-source PCB visualization tools. The current stable version is 4.2.7. While a precise release cadence isn't explicitly stated, the project maintains an active development cycle within the Tracespace ecosystem, with major versions introducing breaking changes to improve parsing accuracy and specification compliance. Its key differentiator is its streaming architecture, allowing efficient processing of large Gerber files without loading the entire content into memory, and its explicit focus on the Gerber X2 standard for enhanced data integrity.
Traffic · last 30 days ↑100% vs prev 7d
top countries 🇺🇸 United States · 🇨🇦 Canada · 🇫🇷 France · 🇩🇪 Germany