</>PackageGraphPackageGraph

fontfaceobserver

npmv2.3.0

Detect if web fonts are available

Not recommended for new projects

No — fontfaceobserver should not be adopted for new projects. Last published 1577 days ago.

  • ?Adoption: grade ?, Not reported by this registry.

    No download data reported for this package yet.

  • FMaintenance: grade F, Failing.

    Last published 1577 days ago.

  • AWeight: grade A, Excellent.

    Zero runtime dependencies, about 33 KB installed.

  • BSupply chain: grade B, Good.

    This package has a single maintainer (bus factor of 1).

  • ALicense: grade A, Excellent.

    BSD-2-Clause — permissive, with no copyleft found in the dependency tree.

Grades are computed deterministically from registry metadata collected by PackageGraph — downloads, dependents, publish dates, the resolved dependency tree, maintainer count, and declared licenses. No third-party scores are used.

Install cost

What you actually take on by adding fontfaceobserver to a project.

0
Direct dependencies

Runtime packages this one declares itself.

0
Total installed

Distinct packages in the full runtime tree, deduplicated the way a package manager would.

33 KB
Install size

Unpacked size of this package plus its entire runtime tree.

Tree depth

Longest resolved dependency chain below this package.

Compatibility

Node.js
No constraint declared
Module format
CommonJS only
TypeScript
No bundled types
Install scripts
None

Quick start

A usage example from the fontfaceobserver README.

var font = new FontFaceObserver('My Family', {
  weight: 400
});

font.load().then(function () {
  console.log('Font is available');
}, function () {
  console.log('Font is not available');
});

fontfaceobserver vs the alternatives

Packages solving a similar problem in the npm ecosystem, compared on the signals that drive an adoption decision.

PackageWeekly downloadsDependentsLicenseLast release
fontfaceobserverthis page01BSD-2-Clause4 years ago
expo-font03MIT1 day ago

Dependencies

Declared by fontfaceobserver v2.3.0. Runtime dependencies are installed with the package; dev dependencies are not.

Dev (12)

closure-dom =0.2.6google-closure-compiler =v20220502grunt ^1.0.3grunt-contrib-clean ^2.0.1grunt-contrib-concat ^1.0.1grunt-contrib-jshint ^3.2.0grunt-exec ~1.0.0mocha ^10.0.0mocha-headless-chrome ^4.0.0promis =1.1.4sinon ^14.0.0unexpected ^13.0.0

Used by

Popular packages that depend on fontfaceobserver.

Relationship graph

Dependencies (left) and dependents (right) of fontfaceobserver.

expo-fontfontfaceobserver
fontfaceobserver dependencies dependents

Frequently installed together

Release history

No releases in the last two years, typically about 2 days apart.

Recent versions of fontfaceobserver
VersionPublishedSizeLicense
2.3.0latest4 years ago33 KBBSD-2-Clause
2.2.04 years ago33 KBBSD-3-Clause
2.1.07 years ago33 KBBSD-3-Clause
2.0.139 years agoBSD-3-Clause
2.0.129 years agoBSD-3-Clause
2.0.109 years agoBSD-3-Clause
2.0.99 years agoBSD-3-Clause
2.0.89 years agoBSD-3-Clause
2.0.79 years agoBSD-3-Clause
2.0.69 years agoBSD-3-Clause
2.0.510 years agoBSD-3-Clause
2.0.410 years agoBSD-3-Clause
2.0.310 years agoBSD-3-Clause
2.0.210 years agoBSD-3-Clause
2.0.110 years agoBSD-3-Clause

Overview

fontfaceobserver is an npm package that detect if web fonts are available. It has 1 known dependents in the graph. The latest version is 2.3.0, released under the BSD-2-Clause license.

Who should use it

Teams working in the npm ecosystem who need detect if web fonts are available and value a focused solution.

When not to use it

Consider an alternative if you need to have first-class TypeScript types out of the box, or if a more actively-maintained option better fits your npm stack.

Pros

  • Clear open-source license (BSD-2-Clause).

Cons

  • No bundled TypeScript types (may require a separate @types package).

Auto-generated from collected registry metadata. No external claims are inferred.

Maintainers

Keywords

Frequently asked questions

Should I use fontfaceobserver?

No — fontfaceobserver should not be adopted for new projects. Last published 1577 days ago.

How do I install fontfaceobserver?

Run `npm install fontfaceobserver` to add fontfaceobserver to your npm project.

What license is fontfaceobserver released under?

fontfaceobserver is distributed under the BSD-2-Clause license.

How popular is fontfaceobserver?

npm does not publish download counts. Within PackageGraph's crawl, 1 known packages depend on fontfaceobserver.

Is fontfaceobserver still maintained?

The most recent release of fontfaceobserver (v2.3.0) was published 4 years ago.

Does fontfaceobserver run install scripts?

No. fontfaceobserver does not define preinstall, install, or postinstall scripts, so installing it does not execute publisher-supplied code.