Never Perfectly Managed

    advanced-seo-checker

    3.2.0 • Public • Published

    Advanced SEO Checker Build Status

    A library for checking basic SEO signals on a web page

    Usage

    Install with npm npm install advanced-seo-checker --save

    Getting started

    Require the library and then all the methods listed below will be made available to you.

    The analyze method takes the URLs' list as a parameter to start analyzing them

    const SEOChecker = require('advanced-seo-checker');
    let baseURL = 'http://hazemhagrass.com';
    let urls = [baseURL, 'http://hazemhagrass.com/blog'];
    let crawler = SEOChecker(baseURL, {});
    crawler.analyze(urls).then(function (summary) {
      let util = require('util');
      console.log(util.inspect(summary));
    });

    Most of the items in the returned object are self explanatory. Here are the ones that may not be obvious:

    • heading1: This is the text of the first H1 heading tag on the page
    • totalHeadings: Counts how many H1 tags on a page
    • imgAccessibility - This is the percentage of images on a page that have no alt or title attributes.

    Development

    1. Clone the repository git clone https://github.com/hazemhagrass/advanced-seo-checker && cd advanced-seo-checker
    2. Install dependencies npm install

    Now you can develop!

    Contributing

    Contributions are very welcome! This is a project we created to fulfill a pretty specific use case. Although we tried to make it as generic as possible we think we can improve. So if you want to expand on our work and make this library appeal to a broader range of use cases or platforms then please share your pull requests and we'll accept them.

    Install

    npm i advanced-seo-checker

    DownloadsWeekly Downloads

    180

    Version

    3.2.0

    License

    MIT

    Unpacked Size

    1.99 MB

    Total Files

    13

    Last publish

    Collaborators

    • hazem.hagrass