kicad-netlist-to-json
v0.0.9
Published
KiCad netlist (.net) to JSON converter
Downloads
17
Readme
kicad-netlist-to-json.js
KiCad netlist (.net) to JSON converter.
Usage
First, npm install kicad-netlist-to-json
Then let's take a KiCad netlist file like uhk-left-main.net and
var fs = require('fs');
var kicadNetlistToJson = require('kicad-netlist-to-json');
var kicadNetlist = fs.readFileSync(
'node_modules/kicad-netlist-to-json/test/uhk-left-main.net',
{encoding:'utf8'});
console.log(JSON.stringify(kicadNetlistToJson(kicadNetlist), null, 4));
This way you'll end up with uhk-left-main.json