Security News
Opengrep Emerges as Open Source Alternative Amid Semgrep Licensing Controversy
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
dxf-parser
Advanced tools
Dxf Parser is a javascript parser for dxf files. It reads dxf files into one large javascript object with readable properties and a more logical structure.
Also, keep an eye on three-dxf, a browser module for rendering the output of Dxf-Parser in the browser.
npm install dxf-parser
Browsers -- As of 0.1.3 standalone browserify version is in the dist/ folder. Copy it out of the install directory or just download it from the GitHub repo directly. We may evetually publish this to bower, but the build environment needs a little work first.
// Grab fileText in node.js or browser
var fileText = ...;
var parser = new DxfParser();
try {
var dxf = parser.parseSync();
}catch(err) {
return console.error(err.stack);
}
node.js
node samples/parseSync
node samples/parseStream
browser - the three-dxf repo has a sample for viewing dxf cad in the browser
Support
Header
Most 2D entities
Layers
LType table
Block Tables (not inserts)
Some Text
Does not yet support
npm install -g mocha
//Then
npm test
//OR
mocha test
FAQs
Parse dxf files into a readable, logical js object.
The npm package dxf-parser receives a total of 7,120 weekly downloads. As such, dxf-parser popularity was classified as popular.
We found that dxf-parser demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Opengrep forks Semgrep to preserve open source SAST in response to controversial licensing changes.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.