Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

easyeda

Latest version: v0.0.393

Overview

Last scanned
26 Nov 2026
Published
26 Nov 2026
npm package Publisher: seveibar
10 Stars
64 Forks
102 Versions
69.1K Downloads
TypeScript Repo language

Scan summary

easyeda was last scanned on 26 Nov 2026 at version 0.0.393. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 102 versions; the latest 2 were published within 4 days (23–26 Nov 2026).
  • Findings: No rules fired in version 0.0.393.
  • Downloads: 69,136 downloads.

Versions

102 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.0.393 LATEST 26 Nov 2026 No rules fired
0.0.392 23 Nov 2026 No rules fired
0.0.391 5 Nov 2026 No rules fired
0.0.389 2 Nov 2026 Not shown
0.0.388 2 Nov 2026 Not shown

No rules fired in 0.0.393

Findings

Findings for v0.0.393. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

The score describes 0.0.393; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

easyeda - Download and Convert EasyEDA Footprints

Convert EasyEDA JSON PCB footprints into Circuit JSON or tscircuit components.

npm version

npm install -g easyeda

Library Usage

Converting to Circuit JSON
import { convertEasyEdaJsonToCircuitJson } from "easyeda"

// Convert to tscircuit soup
const soupJson = convertEasyEdaJsonToCircuitJson(rawEasyJson)
Converting to TypeScript React Component
import { convertRawEasyEdaToTs } from "easyeda"

// Convert to TypeScript React component
const tsxComponent = await convertRawEasyEdaToTs(rawEasyJson)
Full Example: Fetching and Converting to TSX
import { fetchEasyEDAComponent, convertRawEasyEdaToTs } from "easyeda"

async function convertPartNumberToTsx(partNumber: string) {
  const rawEasyJson = await fetchEasyEDAComponent(partNumber)
  const tsxComponent = await convertRawEasyEdaToTs(rawEasyJson)
  return tsxComponent
}

// Usage
const ne555TsxComponent = await convertPartNumberToTsx("C46749")
console.log(ne555TsxComponent)
Fetching EasyEDA Component Data
import { fetchEasyEDAComponent } from "easyeda"

// Get raw EasyEDA JSON for a component
const rawEasyJson = await fetchEasyEDAComponent("C46749")

CLI

Install the CLI with npm install -g easyeda, you can then call the cli with either easyeda or easyeda-converter.

# Convert a schematic and footprint for JLCPCB part number C46749 (NE555) to tscircuit component
easyeda convert -i C46749 -o C46749.tsx
easyeda convert -i C46749 -t tsx

# Convert a footprint and schematic for JLCPCB part number C46749 (NE555) to tscircuit soup JSON
# More info: https://docs.tscircuit.com/api-reference/advanced/soup
easyeda convert -i C46749 -o C46749.soup.json

# Convert a footprint for JLCPCB part number C46749 (NE555) to KiCad footprint
easyeda convert -i C46749 -o C46749.kicad_mod

# Download the C46749 footprint and schematic and convert to readable JSON
easyeda convert -i C46749 -o C46749.bettereasy.json

# Can also convert from files!
easyeda convert -i ./C46749.raweasy.json -o C46749.soup.json

# Get exactly what is returned from the JLC API
# The footprint, schematic and some other data is encoded in strings, you
# probably want to convert to *.bettereasy.json
easyeda download -i C46749 -o C46749.raweasy.json

File Formats

Format Description
*.raweasy.json The raw JSON from the EasyEDA API
*.bettereasy.json The raw JSON from the EasyEDA API, but with the footprint and schematic data decoded
*.circuit.json The tscircuit's easy-to-use JSON format (docs)
*.kicad_mod A KiCad footprint file
*.tsx A TypeScript React component file

Advanced Usage

Customizing Conversion Options

When converting EasyEDA JSON to tscircuit soup, you can pass additional options:

import { convertEasyEdaJsonToCircuitJson } from "easyeda"

const soupJson = convertEasyEdaJsonToCircuitJson(rawEasyJson, {
  useModelCdn: true, // Use CDN for 3D models
  shouldRecenter: false, // Don't recenter the component
})
Supplying Datasheet Pin Attributes

Callers can provide a pinAttributes map using the @tscircuit/props schema. The converter matches rows to physical footprint pad identifiers: both "1" and "pin1" are accepted, as are "A1" and "pinA1" for BGA pads. A pin-prefixed row takes precedence when both forms specify the same attribute. Signal aliases are used only when no physical row is supplied, and conflicting alias rows are ignored.

import { convertEasyEdaJsonToCircuitJson, convertRawEasyEdaToTs } from "easyeda"

const pinAttributes = {
  "1": { requiresPower: true, requiresVoltage: "2.8V" },
  "2": { requiresGround: true },
  "3": {}, // Explicitly undocumented electrical role
}

const circuitJson = convertEasyEdaJsonToCircuitJson(betterEasy, { pinAttributes })
const tsx = await convertRawEasyEdaToTs({ rawEasy, pinAttributes })

Attributes are written onto Circuit JSON source_port records and included in the generated TSX. Supplied rows replace TSX label inference for that pin, including an explicit empty row. Other pins retain the existing inference. The browser exports convertRawEasyToTsx and convertBetterEasyToTsx accept the same option. Fetching and validating datasheet metadata remains the caller's responsibility; these options do not make a datasheet API request.

Working with Generated TypeScript Components

The generated TypeScript React components can be imported and used in your tscircuit projects:

import { NE555 } from "./NE555"

const MyCircuit = () => {
  return (
    <circuit>
      <NE555 name="U1" />
      {/* Other components */}
    </circuit>
  )
}

These components include proper typing for props and integrate seamlessly with the tscircuit ecosystem.

Development

Adding a test for a new part

Just run the following command. Use git status to see the files it introduces.

bun run add-test-for-part C46749

You can then run the test with bun test path/to/file.test.ts until you can successfully get the part working!

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • npm easyeda

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Copy of Template Design OX Blog (3)
Research

Ruby2Shell: Ruby Memory Corruption Flaws Expose Applications to Remote Code Execution, But is it an Actual Risk?

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

CVE

Java4Shell (CVE-2026-114938): Easy to Crash, Hard to Exploit — Less Than 0.12% of JVMs Estimated at Risk of RCE

Frame 2085668439 (1)
Group 1261154229