Finding fonts used in a stylesheet

I was recently asked by a client to findĀ out what fonts where used on one of their existing sites so that we could review what licenses might be required.

I thought no problem, then i opened up the stylesheets and found 24,000 lines of code. This made me a little sad to start with and then i had to figure out the best way to tackle this.

I did consider going through and manually searching for all the font and font-family attribute, but i thought that was a little unreliable for keeping track.

So I decided to produce a node module to do this for you.

Cryptically namedĀ node fonts used, this can be both used in your projects or as a stand alone application.