Go's url package in TypeScript
Help us add more
Got a rainy Sunday afternoon and a taste for a porting puzzle?
- Get inspiration from Go strings documentation, Go strings source, Go strings examples source, GopherJS.
- Click "New file" in the appropriate folder on GitHub. This will fork the project to your account, directly add the file to it, and send a Pull Request to us.
We will then review it. If it's useful to the project and in line with our contributing guidelines your work will become part of Locutus and you'll be automatically credited in the authors section accordingly.
Upstream Surface Inventory 8/28 shipped • 8 next 29%
Namespace-level inventory for Go 1.23: what we already ship, what we may still want,
and what we intentionally skip or keep.
net/url package
Shipped (8)
Next
Escaping helpers have a clean plain-value contract.
EscapedFragmentEscapedPath
URL host decomposition is a useful plain-value helper.
HostnamePort
URL absolute checks have a clean plain-value contract.
IsAbs
Request-URI parsing is a useful plain-value helper.
ParseRequestURI
URL escaping is a strong plain-value target.
PathUnescape
Request-URI formatting is a useful plain-value helper.
RequestURI
Explicit non-goals (12)
-
AddMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
DelMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
GetMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
HasMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
MarshalBinaryMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
QueryMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
RedactedMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
SetMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
StringMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
UnmarshalBinaryMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
UserMuch of net/url revolves around mutable URL and Values objects rather than plain values. -
UserPasswordMuch of net/url revolves around mutable URL and Values objects rather than plain values.