@maximka76667/icons-master
v1.0.3
Published
CLI tool to manage lucide-react icon exports
Readme
icons-master
A CLI tool to manage Lucide React icon exports in your TypeScript project.
Automatically fetches icon metadata, determines the correct category, and keeps your export files alphabetically sorted.
Installation
npm install @maximka76667/icons-masterThe correct binary for your platform is downloaded automatically on first run.
Usage
Add an icon
icons-master add <icon-name> [folder]Remove an icon
icons-master remove <icon-name> [folder]<icon-name>— icon name in kebab-case (e.g.arrow-up,chevron-down)[folder]— output directory for TypeScript files (default:icons)
Examples
icons-master add arrow-up
# → Added ArrowUp to icons/arrows.ts
icons-master add arrow-up src/icons
# → Added ArrowUp to src/icons/arrows.ts
icons-master remove arrow-up
# → Removed ArrowUp from icons/arrows.tsThe generated TypeScript files look like this:
export { ArrowDown, ArrowLeft, ArrowRight, ArrowUp } from "lucide-react";Supported Platforms
| Platform | Architecture | | -------- | --------------------- | | Windows | x64 | | macOS | x64 (Intel) | | macOS | ARM64 (Apple Silicon) | | Linux | x64 | | Linux | ARM64 |
