RustPoint 工具集合

URL 解析/参数格式化

拆解 URL 的协议、域名、路径、查询参数,并输出格式化参数。

返回工具集合
{
  "protocol": "https:",
  "username": "",
  "password": "",
  "host": "tool.rustpoint.com",
  "pathname": "/",
  "hash": "#catalog",
  "query": {
    "utm_source": "nav",
    "q": "tool"
  },
  "formattedQuery": "utm_source=nav\nq=tool"
}