plugins/audit-plugin.js
function Plugin() {

    this.name = "Audit-Plugin";
    this.resources = new Map();
    this.duplicateContents = new Map();
    this.inLinks = new Map();
    this.outLinks = new Map();
    this.externalLinks = new Map();
    this.unparsedLinks =  new Set();
    this.images = new Map();
    this.errors = new Set();
    this.redirects = new Map();


}
function Plugin() {

    this.name = "Audit-Plugin";
    this.resources = new Map();
    this.duplicateContents = new Map();
    this.inLinks = new Map();
    this.outLinks = new Map();
    this.externalLinks = new Map();
    this.unparsedLinks =  new Set();
    this.images = new Map();
    this.errors = new Set();
    this.redirects = new Map();


}
function Plugin ( ) { this . name = "Audit-Plugin" ; this . resources = new Map ( ) ; this . duplicateContents = new Map ( ) ; this . inLinks = new Map ( ) ; this . outLinks = new Map ( ) ; this . externalLinks = new Map ( ) ; this . unparsedLinks = new Set ( ) ; this . images = new Map ( ) ; this . errors = new Set ( ) ; this . redirects = new Map ( ) ; }
Basic crawler plugin that can be used to make a SEO audit for one site
This is just an example that requires some customizations

@param : the crawler engine that will emit events to this plugin
Basic crawler plugin that can be used to make a SEO audit for one site This is just an example that requires some customizations