Giter VIP home page Giter VIP logo

altium-intlib-parser's Introduction

main.ts

  • main.ts includes functions for managing and reading .IntLib files

How to run

  • npm start will do nothing at the because everything in main.ts is abstracted to a function
  • npm test will run through each .IntLib file, and use a pre-extracted version from 7zip to compare data
  • The readIntLib() function returns Parameters and RawParameters. RawParameters is for testing, and contains the raw contents of Parameters.bin, whereas Parameters contains a JSON representation of Parameters.bin

readIntLib()

Returns an object that resembles this:

{
    "Parameters": {
      "Availability": "Unavailable",
      "Comment": "*",
      "Component Kind": "Standard",
      "Description": "SMD WI-FI IC, ESP32-S2, SINGAL-C",
      "Footprint": "QFN40P700X700X90-57T400N",
      "Library Reference": "ESP32-S2",
      "MF": "Espressif Systems",
      "MP": "ESP32-S2",
      "Package": "None",
      "Price": "None",
      "SnapEDA_Link": "https://www.snapeda.com/parts/ESP32-S2/Espressif%20Systems/view-part/4571535/?ref",
      "Value": "*",
      "Designator": "ESP32-S2",
      "Component Type": "Standard",
      "Pin Count": "57",
      "Height": 0,
      "Pad Count": "57"
    },
    "RawParameters": " ��  Availability=In Stock|Check_prices=https://www.snapeda.com/parts/1N4148/Onsemi/view-part/?ref=eda|Comment=*|Component Kind=Standard|Description=Diode Standard 75V 200mA Surface Mount SOD-523F|Footprint=DIOAD829W49L456D191|Library Reference=1N4148|MF=ON Semiconductor|MP=1N4148|Package=AXIAL LEAD-2 ON Semiconductor|Price=None|Purchase-URL=https://pricing.snapeda.com/search/part/1N4148/?ref=eda|SnapEDA_Link=https://www.snapeda.com/parts/1N4148/Onsemi/view-part/?ref=snap|Value=*|Designator=1N4148|Component Type=Standard|Pin Count=2 �   Height=0|Pad Count=2 �   Height=0|Pad Count=2 ",
    "PCBLib": [bytes],
    "SchLib": [bytes]
}

altium-intlib-parser's People

Contributors

callumcm avatar

Stargazers

louis  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.