seo-chufengli
v1.0.13
Published
shopback node.js code challenge
Downloads
2
Readme
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!