Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Sep 12, 2023. It is now read-only.

github/lightcrawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

28 Commits

lightcrawler

Crawl a website and run it through Google lighthouse

npm install --save-dev lightcrawler
lightcrawler --url https://atom.io/ --config lightcrawler-config.json

where lightcrawler-config.json looks something like this:

{
 "extends": "lighthouse:default",
 "settings": {
 "crawler": {
 "maxDepth": 2,
 "maxChromeInstances": 5
 },
 "onlyCategories": [
 "Accessibility",
 "Performance",
 "Best Practices"
 ],
 "onlyAudits": [
 "accesskeys",
 "aria-allowed-attr",
 "external-anchors-use-rel-noopener",
 "geolocation-on-start",
 "no-document-write",
 "no-mutation-events",
 "no-old-flexbox",
 "time-to-interactive",
 "user-timings",
 "viewport",
 "without-javascript"
 ]
 }
}

Enjoy!

About

Crawl a website and run it through Google lighthouse

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Packages

Contributors

AltStyle によって変換されたページ (->オリジナル) /