DXF is a exchange format used by AutoCAD for graphical objects. GeoJSON is an IETF standard for geometries. The two can be used interchangeably e.g. for modeling buildings.
The dxf2geojson
translator attempts to reconstructs GeoJSON geometries
(polygons and lines strings, also called polylines) from DXF lines.
$ npm install
$ node dxf2geojson.js <in.dxf> <out.geojson>