Crop-awesome (v0.9.22) is a build-time tool that reduces Font Awesome CSS and font file sizes by removing unused icons and classes. It supports EOT, TTF, SVG, WOFF, WOFF2, and OTF font types, with configurable icon lists and helper classes. Unlike manual subsetting or online tools, it integrates as a CLI or Node.js dependency, with autocomplete for repeat runs (though buggy in global mode). Last updated in 2017, the project is in maintenance mode—no changes since, but still usable for Font Awesome 4.x.
npm install crop-awesomeNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows programmatic usage: require, configure subset, handle Promise result.
Install locally or use config file via -cfg-path.
Avoid specifying OTF in font_types unless you want an untrimmed copy.
Add missing helper classes to help_classes array in config.
Use .then() or async/await instead of expecting immediate result.
Consider using fontawesome-subset or custom SVG icon extraction for FA5+.
Use const crop = require('crop-awesome'); not require('crop-awesome').default.Run `npm install crop-awesome --save-dev` (or without -g).
Ensure font-awesome is installed (npm install font-awesome) or specify custom path.
No dependency data recorded yet.