SkillAgentSearch skills...

Parser

A dxf parser it parse dxf content to a readable javascript object.

Install / Use

/learn @dxfjs/Parser
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

parser

A dxf parser it parse dxf content to a readable javascript object.

CI

Installation

pnpm add @dxfjs/parser

Get started

const { Parser } = require('@dxfjs/parser')
const content = '...' // The dxf content
const parser = new Parser()
parser
    .parse(content)
    .then((obj) => {
        console.log(obj)
        // ...
    })
    .catch((error) => console.error(error))

Progress

  • [x] Parse HEADER section.

  • [x] Parse CLASSES section.

  • [x] Parse TABLES section.

  • [x] Parse BLOCKS section.

  • [x] Parse ENTITIES section.

    <details><summary>Supported entities</summary>
    • [x] 3DFACE
    • [x] 3DSOLID
    • [x] ARC
    • [x] CIRCLE
    • [x] ELLIPSE
    • [ ] HATCH
    • [x] INSERT
    • [x] LINE
    • [x] LWPOLYLINE
    • [x] POINT
    • [x] POLYLINE
    • [x] SOLID
    • [x] SPLINE
    • [x] TEXT
    </details>
  • [ ] Parse OBJECTS section.

View on GitHub
GitHub Stars16
CategoryContent
Updated2mo ago
Forks0

Languages

TypeScript

Security Score

95/100

Audited on Jan 29, 2026

No findings