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.
npm install -g node-faux-pas
$ fauxpas MY_URL_HERE
-u, --url url The url to test.
-h, --help Display this help documentation.