dxfjs / parser

A dxf parser it parse dxf content to a readable javascript object.
MIT License
10 stars 0 forks source link
dxf js parser ts

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