Socket
Socket
Sign inDemoInstall

eot-parser

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eot-parser

EOT font parser


Version published
Weekly downloads
154
increased by11.59%
Maintainers
1
Install size
702 kB
Created
Weekly downloads
 

Readme

Source

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",
	...
}

Keywords

FAQs

Last updated on 13 Aug 2015

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc