1.0.0 • Published 6 years ago

sbseo v1.0.0

Weekly downloads
2
License
ISC
Repository
-
Last release
6 years ago

How to use it?

node app.js ~/pathtoFile/test.html 1 2 3 4 5 6 7 8 node app.js ~/pathtoFile/test.html 0 2 3 4 5 6 7 8 //don't use rule 1 node app.js ~/pathtoFile/test.html 0 2 3 4 5 6 7 8 //don't use rule 1 and rule 8

Rules for this package:

  1. Detect if any tag without alt attribute
  2. Detect if any tag without rel attribute
  3. Detect if header doesn’t have tag
  4. Detect if header doesn’t have <meta name=“descriptions” ... /> tag
  5. Detect if header doesn’t have <meta name=“keywords” ... /> tag
  6. Detect if there’re more than 15 tag in HTML
  7. (15 is a value should be configurable by user)
  8. Detect if a HTML have more than one tag