epiphany/node_modules/http-equiv-refresh
2023-12-09 22:19:03 -08:00
..
index.js install 11ty 2023-12-09 22:19:03 -08:00
license install 11ty 2023-12-09 22:19:03 -08:00
package.json install 11ty 2023-12-09 22:19:03 -08:00
README.md install 11ty 2023-12-09 22:19:03 -08:00

http-equiv-refresh NPM Version Build Status

Parse an HTML meta refresh value.

Installation

Node.js >= 0.10 is required. To install, type this at the command line:

npm install http-equiv-refresh

Usage

var parseMetaRefresh = require("http-equiv-refresh");
 
parseMetaRefresh("5; url=http://domain.com/");
//=> { timeout:5, url:"http://domain.com/" }

parseMetaRefresh("5");
//=> { timeout:5, url:null }