Hacker News new | ask | show | jobs
by m-hilgendorf 1509 days ago
We've actually got some decent (imho) support for this in our standard library, OCDB (1).

The function call is a little deceivingly simple, it queries a parts database for one that fits the constraints like value/rating/stock and the part/footprint are parameterized by global design variables/rules under the hood.

(1) https://github.com/JITx-Inc/open-components-database/blob/1f...