node-faux-pas

1.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i node-faux-pas

Weekly Downloads

0

Version

1.0.1

License

MIT

Last publish

Collaborators

  • zachleat