http-equiv-refresh
Parse an HTML meta refresh value.
Last updated 9 years ago by stevenvachon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install http-equiv-refresh 
SYNC missed versions from official npm registry.

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 }

Current Tags

  • 2.0.1                                ...           latest (7 years ago)

6 Versions

  • 2.0.1                                ...           7 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
  • 0.3.0                                ...           10 years ago
  • 0.2.0                                ...           10 years ago
  • 0.1.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 2
This Month 6
Last Day 0
Last Week 4
Last Month 1
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |