1.0.1 • Published 8 years ago
node-faux-pas v1.0.1
node-faux-pas
A command line utility to test a URL for faux web font rendering and mismatched web font code.
- Uses the
faux-paspackage, 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.readypromise resolves before it runs, to make sure all the web fonts have finished loading.
Installation
npm install -g node-faux-pasUsage
$ fauxpas MY_URL_HEREOptions
-u, --url url The url to test.
-h, --help Display this help documentation.