html-meta-parser

1.0.0 • Public • Published

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);
});

Readme

Keywords

Package Sidebar

Install

npm i html-meta-parser

Weekly Downloads

2

Version

1.0.0

License

GPL-3.0

Last publish

Collaborators

  • rcmonitor