Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@tarikjabiri/dxf

dxfjs17.7kMIT2.8.9TypeScript support: included

A JavaScript interface to Dxf written in TypeScript.

js-dxf, ts-dxf, dxf, writer, js, ts

readme

writer Verified on Openbase

A Javascript dxf generator, written in Typescript.

ci publish codecov

GitHub npm (scoped) npm

Installation

yarn add @tarikjabiri/dxf
# Or npm
npm i @tarikjabiri/dxf
# Or pnpm
pnpm add @tarikjabiri/dxf

Getting started

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();

More informations

Sponsors

Archilogic | Interior space for the digital world Slate Slate Mikey