kicad-netlist-to-json

0.0.9 • Public • Published

kicad-netlist-to-json.js

KiCad netlist (.net) to JSON converter.

npm module dependencies Build Status

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

Package Sidebar

Install

npm i kicad-netlist-to-json

Weekly Downloads

1

Version

0.0.9

License

GPLv3

Last publish

Collaborators

  • mondalaci