1.0.3 • Published 7 years ago

seo_homework v1.0.3

Weekly downloads
1
License
ISC
Repository
-
Last release
7 years ago

seo_homework

just a seo homework...

Installation

npm install seo_homework

Usage

var fs = require('fs');
var Seo = require('seo_homework').Seo;
var SeoStream = require('seo_homework').SeoStream;
var input = {
    file: "test.htm",      // input file path
    output_file:"out.txt", // output file path , keep empty will not output to file
    output_console:"0",    // output to console if bigger than 0
    strong_count:15,       // setting fr strong tag
    rules: {               // rule settings..
        rule1: true,
        rule2: true,
        rule31: true,
        rule32: true,
        rule33: true,
        rule4: true,
        rule5: true
    }
}
Seo(input); // file path version
fs.createReadStream(input["file"]).pipe(SeoStream(input)).pipe(process.stdout); // stream version
1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago