
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
optimize-icons-cli
Advanced tools
A powerful CLI tool for optimizing icons in your web projects with focus on performance and simplicity.
A command-line tool for optimizing icons in your web projects. This tool helps reduce icon file sizes and improve loading performance.
# Using npm
npm install -g optimize-icons-cli
# Using yarn
yarn global add optimize-icons-cli
# Using pnpm
pnpm add -g optimize-icons-cli
# Show version
optimize-icons --version
# Show help
optimize-icons --help
If you run the command without any arguments, it will start in interactive mode:
optimize-icons
The tool will prompt you for:
| Option | Alias | Description |
|---|---|---|
--output-path | -o | Specify the output dist directory for optimized icons |
--icons-path | -i | Specify the icons directory for optimized icons |
--ignore-files | -I | Specify icons to ignore (comma-separated) |
--names | -n | Specify the custom name of icons svg file |
--verbose | -v | Enable verbose output |
--version | - | Show version number |
--help | - | Show help |
You can also use the tool programmatically in your Node.js projects:
import CLI from 'optimize-icons-cli';
const cli = CLI.getInstance();
await cli.run();
The tool accepts the following configuration options:
interface OptimizeIconsOptions {
outputPath: string; // Path where optimized icons will be saved
iconsPath: string; // Path where original icons are located
names: string; // Custom name of icons svg file (comma-separated)
ignoreFiles: string; // Icons path to ignore (comma-separated)
verbose: boolean; // Enable detailed logging
}
Add additional notes about how to deploy this on a live system.
Made with ❤️ by Kiet Le
FAQs
CLI tool for optimizing icons
The npm package optimize-icons-cli receives a total of 12 weekly downloads. As such, optimize-icons-cli popularity was classified as not popular.
We found that optimize-icons-cli demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.