node-fonts-used

0.5.0 • Public • Published

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

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i node-fonts-used

    Weekly Downloads

    2

    Version

    0.5.0

    License

    ISC

    Last publish

    Collaborators

    • johncashmore