Socket
Socket
Sign inDemoInstall

seo_defect_check

Package Overview
Dependencies
0
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    seo_defect_check

Basic module for checking SEO HTML defects


Version published
Weekly downloads
9
Maintainers
1
Install size
6.82 kB
Created
Weekly downloads
 

Readme

Source

SEO HTML defect checker

Basic module for checking SEO HTML defects

Built for

  • NodeJS

Status

Build Status

Installation

This is node.js libarary. Install nodejs first, then:

npm install seo_defect_check

or

yarn add seo_defect_check

How to use?

There are 7 defined rules that you can use to validate HTML.

  1. Detect if there are any <img /> tags without alt attribute
  2. Detect if there are any <a /> tags without rel attribute
  3. In tag
  • Detect if there is any header that doesn’t have <title> tag
  • Detect if there is any header that doesn’t have <meta name=“descriptions” … /> tag
  • Detect if there is any header that doesn’t have <meta name=“keywords” … /> tag
  1. Detect if there are more than 15 <strong> tag in HTML (15 is a value should be configurable by user)
  2. Detect if a HTML have more than one <H1> tag.
For example:

```javascript
var seo = require('seo_defect_check')
seo.Parsing()

Features

  • Detect basic HTML tag defect by the defined rules

Contribute

Let people know how they can contribute into your project.

License

A short snippet describing the license (MIT, Apache etc)

MIT © [jimmyko]

Keywords

FAQs

Last updated on 23 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc