0.5.0 • Published 10 years ago
node-fonts-used v0.5.0
CSS font finder
Very much a work in progress
Finds the fonts used in a css files
Installation
$ npm install node-fonts-used
Usage
var fontsUsed = require('node-fonts-used');
var fontsArray = fontsUsed.findFonts('body { font-size: 12px; font-family: Arial; }');
Returns an array of fonts used.
You can also use the tool from the command line.
$ fontsused file.css