1.0.13 • Published 7 years ago

seo-chufengli v1.0.13

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

seo-chufengli

  • Shopback node.js code challenge

Installation

npm install seo-chufengli

Usage

var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
    .detectStrong(5)
    .detectRel()
    .detectH1()
    .detectImgAlt()
    .detectHead()
    .detectMeta('robots')
    .detectMeta('chufengli')
    .consoleLog()

Set Rules Easily

var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
    .detectStrong(5)
    .detectRel()
    //.detectH1()
    //.detectImgAlt()
    //.detectHead()
    //.detectMeta('robots')
    //.detectMeta('chufengli')
    .consoleLog()

Write Result to a File

var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
    .detectStrong(5)
    .detectRel()
    .writeFile('result.log')

Todos

  • The input can be Node Readable Stream
  • The output cab be Node Writable Stream

License


MIT

Acknowledgements


Free Software, Happy Coding!

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago