A simple script that get the information we need for the iconify/json search then uses fuse.js to search for the icons using a term.
To install dependencies:
bun install
To run:
bun dev <search-name>
▲ bun dev component
$ bun index.ts component
Searching icons within iconify with term: 'component':
[ "logos:componentkit", "logos:component", "bxs:component" ]
[12.08ms] search
This project was created using bun init
in bun v1.0.29. Bun is a fast all-in-one JavaScript runtime.