Skip to content
On this page

Getting started

Installation

sh
pnpm add @tarikjabiri/dxf
sh
npm i @tarikjabiri/dxf
sh
yarn add @tarikjabiri/dxf

Quick start

js
import { DxfWriter, point3d } from "@tarikjabiri/dxf";
const dxf = new DxfWriter();
dxf.addLine(point3d(0, 0), point3d(100, 100));
// To get the dxf string just call the stringify() method
const dxfString = dxf.stringify();

Released under the MIT License.