summaryrefslogtreecommitdiff
path: root/node_modules/http-equiv-refresh/README.md
diff options
context:
space:
mode:
authorShipwreckt <me@shipwreckt.co.uk>2025-10-31 20:02:14 +0000
committerShipwreckt <me@shipwreckt.co.uk>2025-10-31 20:02:14 +0000
commit7a52ddeba2a68388b544f529d2d92104420f77b0 (patch)
tree15ddd47457a2cb4a96060747437d36474e4f6b4e /node_modules/http-equiv-refresh/README.md
parent53d6ae2b5568437afa5e4995580a3fb679b7b91b (diff)
Changed from static to 11ty!
Diffstat (limited to 'node_modules/http-equiv-refresh/README.md')
-rw-r--r--node_modules/http-equiv-refresh/README.md31
1 files changed, 31 insertions, 0 deletions
diff --git a/node_modules/http-equiv-refresh/README.md b/node_modules/http-equiv-refresh/README.md
new file mode 100644
index 0000000..b555d75
--- /dev/null
+++ b/node_modules/http-equiv-refresh/README.md
@@ -0,0 +1,31 @@
+# http-equiv-refresh [![NPM Version][npm-image]][npm-url] [![Build Status][travis-image]][travis-url] [![Coverage Status][coveralls-image]][coveralls-url]
+
+> Parse an HTML [meta refresh value](https://mdn.io/HTML/Element/meta#attr-http-equiv).
+
+
+## Installation
+
+[Node.js](http://nodejs.org) `>= 6` is required. To install, type this at the command line:
+```shell
+npm install http-equiv-refresh
+```
+
+
+## Usage
+```js
+const parseMetaRefresh = require('http-equiv-refresh');
+
+parseMetaRefresh('5; url=http://domain.com/');
+//-> { timeout:5, url:'http://domain.com/' }
+
+parseMetaRefresh('5');
+//-> { timeout:5, url:null }
+```
+
+
+[npm-image]: https://img.shields.io/npm/v/http-equiv-refresh.svg
+[npm-url]: https://npmjs.com/package/http-equiv-refresh
+[travis-image]: https://img.shields.io/travis/stevenvachon/http-equiv-refresh.svg
+[travis-url]: https://travis-ci.org/stevenvachon/http-equiv-refresh
+[coveralls-image]: https://img.shields.io/coveralls/stevenvachon/http-equiv-refresh.svg
+[coveralls-url]: https://coveralls.io/github/stevenvachon/http-equiv-refresh