dns-witch.net.eu.org/node_modules/http-equiv-refresh
2025-07-05 18:19:59 +02:00
..
index 2.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
index-es5.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
index-es5.js.map 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
index.js 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
license 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
license 2 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
package 2.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
package.json 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
README 2.md 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00
README.md 11ty + RIP DNS Witch EU.ORG service 2025-07-05 18:19:59 +02:00

http-equiv-refresh NPM Version Build Status Coverage Status

Parse an HTML meta refresh value.

Installation

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

npm install http-equiv-refresh

Usage

const parseMetaRefresh = require('http-equiv-refresh');

parseMetaRefresh('5; url=http://domain.com/');
//-> { timeout:5, url:'http://domain.com/' }

parseMetaRefresh('5');
//-> { timeout:5, url:null }