fontfaceobserver
npmv2.3.0Detect 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.
Runtime packages this one declares itself.
Distinct packages in the full runtime tree, deduplicated the way a package manager would.
Unpacked size of this package plus its entire runtime tree.
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.
| Package | Weekly downloads | Dependents | License | Last release |
|---|---|---|---|---|
| fontfaceobserverthis page | 0 | 1 | BSD-2-Clause | 4 years ago |
| expo-font | 0 | 3 | MIT | 1 day ago |
Dependencies
Declared by fontfaceobserver v2.3.0. Runtime dependencies are installed with the package; dev dependencies are not.
Dev (12)
Used by
Popular packages that depend on fontfaceobserver.
Relationship graph
Dependencies (left) and dependents (right) of fontfaceobserver.
Frequently installed together
The Expo SDK
React is a JavaScript library for building user interfaces.
TypeScript definitions for node
TypeScript definitions for react
A framework for building native apps using React
Simple and complete React Native testing utilities that encourage good testing practices.
Release history
No releases in the last two years, typically about 2 days apart.
| Version | Published | Size | License |
|---|---|---|---|
| 2.3.0latest | 4 years ago | 33 KB | BSD-2-Clause |
| 2.2.0 | 4 years ago | 33 KB | BSD-3-Clause |
| 2.1.0 | 7 years ago | 33 KB | BSD-3-Clause |
| 2.0.13 | 9 years ago | — | BSD-3-Clause |
| 2.0.12 | 9 years ago | — | BSD-3-Clause |
| 2.0.10 | 9 years ago | — | BSD-3-Clause |
| 2.0.9 | 9 years ago | — | BSD-3-Clause |
| 2.0.8 | 9 years ago | — | BSD-3-Clause |
| 2.0.7 | 9 years ago | — | BSD-3-Clause |
| 2.0.6 | 9 years ago | — | BSD-3-Clause |
| 2.0.5 | 10 years ago | — | BSD-3-Clause |
| 2.0.4 | 10 years ago | — | BSD-3-Clause |
| 2.0.3 | 10 years ago | — | BSD-3-Clause |
| 2.0.2 | 10 years ago | — | BSD-3-Clause |
| 2.0.1 | 10 years ago | — | BSD-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
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.