ttfinfo

Extracts metadata from a ttf file.

npm install ttfinfo
3 downloads in the last week
13 downloads in the last month

ttfinfo

Extracts metadata from a ttf file. Ported from PHP at http://stackoverflow.com/questions/5668901/php-how-to-read-title-of-font-from-ttf-file.

Use like:

var ttfInfo = require('ttfinfo');
ttfInfo('Fonts/Aaargh.ttf', function(err, info) {
     console.log(info);
});

As an alternative to providing a path to your ttf file, you can pass in a buffer.

npm loves you