【文件属性】:
文件名称:to-protocol-relative-url.js:将URL更改为协议相对URL
文件大小:7KB
文件格式:ZIP
更新时间:2021-05-19 16:15:36
JavaScript
to-protocol-relative-url.js
将URL更改为
安装
包管理器
npm install --save to-protocol-relative-url
bower install --save to-protocol-relative-url
单机版
直接下载脚本文件。
原料药
toProtocolRelativeUrl( url )
url : String 返回值: String
toProtocolRelativeURL ( 'http://example.org' ) ;
//=> //example.org
toProtocolRelativeURL ( 'https://github.com/' ) ;
//=> //github.com/
toProtocolRelativeURL ( 'git@github.com:npm/npm.g
【文件预览】:
to-protocol-relative-url.js-master
----.gitignore(22B)
----to-protocol-relative-url.js(415B)
----to-protocol-relative-url-cjs.js(409B)
----package.json(1KB)
----cli.js(948B)
----.travis.yml(170B)
----LICENSE(1KB)
----test.js(3KB)
----README.md(3KB)
----appveyor.yml(254B)
----.gitattributes(12B)
----bower.json(713B)
----.editorconfig(188B)