JLCPCB Parts
Intelligent fuzzy search for JLCPCB basic and preferred electrical components with CLI interface. This TypeScript-based npm package provides smart component search capabilities by automatically managing a local database of JLCPCB parts and offering natural language search with intelligent parameter matching.
Dependencies
This package uses CDFER/jlcpcb-parts-database which provides a daily CSV download of all basic and preferred parts. That project depends on yaqwsx/jlcparts. Please consider supporting them.
Features
- ๐ Intelligent Fuzzy Search: Find components using natural language descriptions
- ๐ฆ Automatic Database Management: Downloads and caches JLCPCB components database
- โก Fast CLI Interface: Quick command-line searches with formatted output
- ๐ฏ Smart Parameter Parsing: Recognizes electrical values, packages, tolerances, and more
- ๐ Scored Results: Get ranked results with match explanations
- ๐ Auto-Updates: Keeps component database fresh (24-hour cache)
- ๐จ Multiple Output Formats: Detailed, compact, table, or JSON display options
- ๐ง Programmatic Integration: JSON output for scripting and automation
Installation
Global Installation
npm install -g @typecad/jlcpcb-parts
After global installation, you can use the jlcpcb-search
command from anywhere:
jlcpcb-search "10k resistor 0603"
Local Installation
npm install @typecad/jlcpcb-parts
Quick Start
Basic Search
# Search for a 10kฮฉ resistor in 0603 package
jlcpcb-search "10k resistor 0603"
# Search for a 100ยตF capacitor rated for 16V
jlcpcb-search "100uF capacitor 16V"
# Search for buttons
jlcpcb-search "SPST button"