- Shopback node.js code challenge
npm install seo-chufengli
var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
.detectStrong(5)
.detectRel()
.detectH1()
.detectImgAlt()
.detectHead()
.detectMeta('robots')
.detectMeta('chufengli')
.consoleLog()
var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
.detectStrong(5)
.detectRel()
//.detectH1()
//.detectImgAlt()
//.detectHead()
//.detectMeta('robots')
//.detectMeta('chufengli')
.consoleLog()
var seo = require('seo-chufengli')
var shopback = new seo.readFile('test.html')
.detectStrong(5)
.detectRel()
.writeFile('result.log')
- The input can be Node Readable Stream
- The output cab be Node Writable Stream
MIT
Free Software, Happy Coding!