litmus-lab

0.8.1 • Public • Published

Litmus Lab

litmus-lab npm version litmus-lab npm downloads

A site checker that tests elements of a website.

litmus-lab example

get to testing 🚀

  • run $npx litmus-lab -s sodiumhalogen.com
  • or install globally $npm i -g litmus-lab

tests available:

  • sitemap exists
  • google analytics is added
  • any 404s in console? (missing files)
  • check for <meta name="robots" content="nofollow" /> not present
  • check if the site is indexed/cached by Google
  • check if site is up/available
  • check for site redirects
  • filter showing only fails
  • add option to output JSON

future ideas:

  • test multiple urls?
  • check other pages on the site (check links/imgs) using sitemap
  • add custom scripts $litmus-lab sodiumhalogen.com --script=./custom-tests.js
  • test monthly form submission confirmation (customer gets monthly contact form submission test)
  • test monthly form submission confirmation (customer gets monthly contact form submission test)
  • update Slack of failures $litmus-lab -s sodiumhalogen.com --slack HOOK_URL
  • SEO-related tests
  • spell-checking
  • check for invalid HTML
  • STDs (site-transmited diseases, aka malware) 😝
  • console errors
  • add option to output JSON
  • make a lambda that runs script
  • build site that outputs a dashboard
  • if HTTPS check SSL cert expire date
  • HTTP count and suggestion if too high
  • page loading speed checker
  • size checker (JS, images, vodeos)

Package Sidebar

Install

npm i litmus-lab

Weekly Downloads

27

Version

0.8.1

License

ISC

Unpacked Size

492 kB

Total Files

3

Last publish

Collaborators

  • adamcurl
  • chancesmith
  • zboatwright