remove-protocol:从字符串中删除协议

时间:2021-05-01 06:19:18
【文件属性】:
文件名称:remove-protocol:从字符串中删除协议
文件大小:3KB
文件格式:ZIP
更新时间:2021-05-01 06:19:18
JavaScript 删除协议 从字符串中删除协议。 安装 npm install --save remove-protocol 用法 var removeProtocol = require ( 'remove-protocol' ) removeProtocol ( 'http://google.com' ) // => 'google.com' removeProtocol ( 'https://google.com' ) // => 'google.com' removeProtocol ( 'ftp://google.com' ) // => 'google.com' removeProtocol ( 'google.com' ) // => 'google.com' 执照 麻省理工学院 贡献 叉它 创建功能分支( git checkout -b my-new-feature ) 提交更改
【文件预览】:
remove-protocol-master
----test.js(581B)
----license(1KB)
----.travis.yml(74B)
----.editorconfig(197B)
----.gitignore(14B)
----index.js(247B)
----readme.md(1KB)
----package.json(641B)

网友评论