📜  javascript 使用值和锚点解析 url - Python 代码示例

📅  最后修改于: 2022-03-11 14:46:53.081000             🧑  作者: Mango

代码示例1
const parseUrl = require('parse-url');
const url = 'git+ssh://git@softhunt.net:30/path/to/resource.git?key1=value1&key2=value2#anchor';
const parsedUrl = parseUrl(url);

console.log(parsedUrl)