Skip to content

rcmonitor/html_meta_parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-meta-parser

html metadata parser; simple and stream-based For now, retrieves 'content' attribute of http-equiv="refresh" More patterns should be added

Installation

npm install html-meta-parser -save

Usage:

var fs = require('fs');
var Parser = require('html-meta-parser');

var sHtml = fs.createReadStream('path/to/file.html');
var oParser = new Parser();
sHtml.pipe(oParser);

oParser.on('readable', function(){
	var oData = this.read();
	console.log(oData);
});

About

html metadata parser; simple and stream-based

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published