Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

A command line utility to test a URL for faux web font rendering and mismatched web font code.

License

Notifications You must be signed in to change notification settings

filamentgroup/node-faux-pas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚠️ This project is archived and the repository is no longer maintained.

node-faux-pas

A command line utility to test a URL for faux web font rendering and mismatched web font code.

  • Uses the faux-pas package, which requires the environment to have the CSS Font Loading API. In other words, this will not work in PhantomJS.
  • Instead, uses headless Chrome, and therefore requires Chrome 59+ (or Chrome Canary) to be installed for use.
  • Waits until the document.fonts.ready promise resolves before it runs, to make sure all the web fonts have finished loading.

Installation

npm install -g node-faux-pas

Usage

$ fauxpas MY_URL_HERE

Options

  -u, --url url   The url to test.
  -h, --help      Display this help documentation.

About

A command line utility to test a URL for faux web font rendering and mismatched web font code.

Topics

Resources

License

Stars

Watchers

Forks

Packages