Some time ago I created FontAwesomeJS to generate a CommonJS module exporting all of FontAwesome’s unicodes by icon name. Something I had been doing manually – a word us lazy programmers don’t like that much. Using this script I could generate a new module every time FA added new icons by just calling http://fa.fokkezb.nl.
Even lazier
Today I needed to use a different icon font (the beautiful Linearicons) for a project. Then I thought..
Why not create a simple Node.JS CLI that works with any icon font?
IconFont
So, here it is: IconFont. Installing and then running it is simple:
1 2 |
$ sudo npm install -g iconfont $ iconfont linearicons.css |