Font Service Specifics
Look up a font’s service vendor, through its delivery URL.
Getting started
If you’re using Browserify, first install the project:
npm install --save font-service-specifics
Then, require
it and do something based on the result.
var fontServiceSpecifics = ; console;// Returns “Google Fonts” console;// Returns “Typotheque”
If you’re not using a module system, you can also drop in the font-service-specifics.js file with a similar result:
In this case you’ll almost definitely want to include it with whatever other build process you’re using to include font-service-specifics.js
in your main JavaScript file. Right now it is way larger (13kb) than it should be (<1kb), which I will be fixing.
License
Copyright © 2014 Kenneth Ormandy & Chloi Inc.