5.0.3 • Published 16 days ago
@hpcreery/tracespace-parser v5.0.3
@hpcreery/tracespace-parser
Parse Gerber/drill files into abstract syntax trees based on the unist format. Part of the tracespace collection of PCB visualization tools.
This module is one part of the tracespace render pipeline, and you may not need to use it directly. See @tracespace/core to integrate the full render pipeline into your project.
npm install @hpcreery/tracespace-parser@next
usage
import fs from 'node:fs/promises'
import {parse} from '@hpcreery/tracespace-parser'
const gerberContents = await fs.readFile('gerber.gbr', 'utf-8')
const syntaxTree = parse(gerberContents)
await fs.writeFile('parse.json', JSON.stringify(syntaxTree, null, 2), 'utf-8')
5.0.3
16 days ago
5.0.1
17 days ago
5.0.0-alpha.26
1 month ago
5.0.0-alpha.24
1 month ago
5.0.0-alpha.25
1 month ago
5.0.0-alpha.22
2 months ago
5.0.0-alpha.23
2 months ago
5.0.0-alpha.21
2 months ago
5.0.0-alpha.19
11 months ago
5.0.0-alpha.17
12 months ago
5.0.0-alpha.18
12 months ago
5.0.0-alpha.15
12 months ago
5.0.0-alpha.16
12 months ago
5.0.0-alpha.13
12 months ago
5.0.0-alpha.14
12 months ago
5.0.0-alpha.20
11 months ago
5.0.0-alpha.7
1 year ago
5.0.0-alpha.6
1 year ago
5.0.0-alpha.5
1 year ago
5.0.0-alpha.9
1 year ago
5.0.0-alpha.8
1 year ago
5.0.0-alpha.11
1 year ago
5.0.0-alpha.12
1 year ago
5.0.0-alpha.10
1 year ago
5.0.0-alpha.3
1 year ago
5.0.0-alpha.0
1 year ago