Skip to content

andyjansson/eot-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eot-parser Build Status

EOT font parser

Installation

npm install eot-parser

Usage

var fs = require('fs');
var parser = require('eot-parser');

fs.readFile('font.eot', function (err, contents) {
	if (err) throw err;
	parser(contents).then(function (result) {
		console.log(result);
	});
});

Outputs:

{
	...
	"familyName": "SourceSansPro-Regular",
	"styleName": "Regular",
	"versionName": "Version 1.050;PS 1.000;hotconv 1.0.70;makeotf.lib2.5.5900",
	"fullName": "SourceSansPro-Regular",
	...
}

About

EOT font parser for node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published