New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fzp2js

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fzp2js

A lightweight yet robust converter between FZP and JSON

  • 1.0.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

fzp2js

Lightweight yet robust converter between FZP files and the JSON representation of Fritzing parts. Based on the FZP file format outlined in the Fritzing documentation and the JSON model outlined in fzp-js.

install...

with npm

npm install fzp2js

with yarn

yarn add fzp2js

why fzp2js?

Both the Fritzing documentation and fzp-js have components of FZP files missing that were found in parts located in the resources/parts/core directory. To ensure that this library didn't miss those components, it was tested against all default Fritzing parts found in resources/parts/core until it could successfully produce identical versions. In addition, both the documentation and source code for fzp-js were used as a guide to ensure compatibility with existing software and specifications.

usage

const { FritzingPart } = require('fzp2js');

//FZP contents as a string
const fzp = ...

FritzingPart.fromFZP(fzp).then( (part) => {
    //do something with the FritzingPart here
});

documentation

The library is completely documented, following the JSDoc format. The documentation is hosted at karpawich.github.io/fzp2js.

the future

  • Travis integration for testing with sample FZP files

My next project is to make a converter for FZ (Fritzing sketch) files. If you'd like to collaborate, feel free to contact me at max.karpawich@gmail.com.

license

This library is licensed under the GNU GPLv3 license, similar to Fritzing itself.

Keywords

FAQs

Package last updated on 01 Jun 2018

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc