GitXplorerGitXplorer
o

font-detect

public
1 stars
0 forks
0 issues

Commits

List of commits on branch master.
Unverified
bc4d66f46c65336d40bfd055d24fb15c5b67e424

Add NPM badge

ooculus42 committed 5 years ago
Verified
c5c356c07941c516cd592d4ca677aae9371d17a8

Merge pull request #1 from oculus42/0.4.0

ooculus42 committed 5 years ago
Unverified
a4f3d6a5fe7f81754e10ae1a7636830a5eb42ffa

0.4.0 - Minor Performance Improvement.

ooculus42 committed 5 years ago
Unverified
88c0f472e0926d6efeb4afe29f837e0c2719f82e

Base package.json

ooculus42 committed 5 years ago
Verified
ede1b59012f661b598084e29f9f14a48e7f7cb18

Add script

ooculus42 committed 5 years ago
Verified
b72e8c405a20a9b9e6c3bfcb952a76569890081b

Initial commit

ooculus42 committed 5 years ago

README

The README file for this repository.

Font Detect

Based on js-css-font-detect by Lalit Patel.

npm version

About

0.3.0 is the original code from 2012. If you want the original, npm install js-css-font-detect@0.3.0.

0.4.0 is a minor performance optimization (up to ~10%) with the same browser support as the original.

Usage

var d = new Detector();
d.detect('font name');

TODO

  • Provide minified version.
  • Significantly speed detection for arrays to improve libraries like ClientJS.