html-redirect:生成 HTML 重定向页面

时间:2021-06-18 19:51:55
【文件属性】:
文件名称:html-redirect:生成 HTML 重定向页面
文件大小:8KB
文件格式:ZIP
更新时间:2021-06-18 19:51:55
JavaScript html 重定向 生成 HTML 重定向页面。 例子 htmlRedirect ( 'http://example.com' ) . pipe ( fs . createWriteStream ( 'example1.html' ) ) ; 示例1.html: <!DOCTYPE html > < html > < head > < title > (redirect) </ title > < meta http-equiv =" refresh " content =" 1;url=http://example.com/ " > < script > window . location . replace ( "http://example.com/" ) ; </ script > </ head > < body > < a hre
【文件预览】:
html-redirect-master
----.travis.yml(38B)
----package.json(1KB)
----test()
--------core.js(2KB)
--------stream.js(1KB)
--------options.js(2KB)
----LICENSE(1KB)
----src()
--------index.js(3KB)
--------template.html(184B)
----.gitignore(14B)
----usage.txt(280B)
----README.md(4KB)
----cli.js(591B)

网友评论