Vibeleaderboard
Index / tool
Visit github.com
Category
Developer Tools
Rank
No. 1567Tools index

Previous survey · No. 1577 ·

Pricing
Open Source
Type
TOOL
Builder
tscircuit
GitHub
10 stars
Date

About

Convert EasyEDA JSON PCB footprints into the tscircuit JSON format.

What it does

EasyEDA Converter retrieves component records by exact JLCPCB part number or reads local exports, then validates and decodes their schematic and package data. It can produce Circuit JSON, typed React components, readable intermediate JSON, or untouched API output.

Why it's ranked here

This is a focused bridge with both command-line and library entry points. Schema validation, pin-label cleanup, unit conversion, geometry handling, optional recentering, and model metadata support make it useful beyond a basic format rewrite. The unfinished KiCad path materially limits the advertised breadth.

What's good

Users can fetch and convert a part in one operation or process an existing local file. The converter handles pads, holes, vias, cutouts, silkscreen paths, arcs, circles, pin labels, and optional 3D model placement data. Generated React components include typed props for use in tscircuit projects.

Tradeoffs

KiCad footprint output is documented, but the implementation only prints that conversion is not yet implemented. Remote lookup depends on EasyEDA endpoints and can hit IP-based rate limits. Model metadata retrieval adds another network request, although failures there are caught rather than stopping component retrieval.

How to use it well

It suits engineers importing JLCPCB-listed parts into tscircuit, especially when they want repeatable command-line conversion or direct TypeScript integration. Prefer local raw exports for deterministic batch work, and disable optional model metadata when unnecessary. Choose another tool if KiCad footprint generation is the actual requirement.

Technical notes+

package.json defines an ESM TypeScript package named easyeda, publishes only dist, exposes root and browser library entries, and installs both easyeda and easyeda-converter binaries. lib/convert-easyeda-json-to-various-formats.ts chooses between filesystem input and remote fetching, validates through EasyEdaJsonSchema, and writes raw JSON, decoded JSON, Circuit JSON, or TSX; its .kicad_mod branch is explicitly a TODO. lib/websafe/fetch-easyeda-json.ts performs an exact part-number match, fetches component details, optionally downloads an OBJ model, and derives vertex bounds. lib/convert-easyeda-json-to-tscircuit-soup-json.ts converts geometry and metadata into Circuit JSON elements, with options for recentering, model CDN use, CAD placement, and designator visibility.

Observed

License
MIT
Primary language
TypeScript
Package
Published as the npm package easyeda; global installation is documented.
Interfaces
Command-line tool and TypeScript library.
CLI names
Installs easyeda and easyeda-converter binaries.
Module format
ES modules, with generated JavaScript and TypeScript declaration exports.
Browser surface
A separate browser library export is declared.

Read from README.md, package.json, lib/index.ts, lib/constants.ts, lib/compute-center-offset.ts, lib/convert-easyeda-json-to-various-formats.ts, lib/convert-easyeda-json-to-tscircuit-soup-json.ts, lib/websafe/index.ts, lib/math/arc-utils.ts, lib/utils/easyeda-unit-to-mm.ts, lib/websafe/get-model-cdn-url.ts, lib/utils/normalize-pin-labels.ts, lib/websafe/fetch-easyeda-json.ts, lib/utils/normalize-symbol-name.ts, lib/schemas/easy-eda-json-schema.ts.

What it can do

  • Convert EasyEDA PCB footprints to tscircuit format

    EasyEDA JSON PCB footprint filestscircuit JSON format files

  • Parse EasyEDA JSON footprint data

    EasyEDA JSON filesParsed footprint data structure

  • Transform footprint component layouts

    EasyEDA footprint layout datatscircuit compatible layout data

  • Convert pad definitions between formats

    EasyEDA pad specificationstscircuit pad specifications

  • Migrate PCB design elements

    EasyEDA PCB design elementstscircuit design elements

Tags

tscircuiteasyedapcbconverterhardware

Tech Stack

Node.jsTypeScript

Comments (0)

No comments yet

Editorially curated, with community endorsements as a secondary signal. Corrections welcome.