旧版的 urlObject


稳定性: 3 - 旧版: 改为使用 WHATWG URL API 。

旧版的 urlObjectrequire('node:url').Urlimport { Url } from 'node:url')由 url.parse() 函数创建和返回。

Stability: 3 - Legacy: Use the WHATWG URL API instead.

The legacy urlObject (require('node:url').Url or import { Url } from 'node:url') is created and returned by the url.parse() function.