Helpers for JavaScript module specifier strings.
Summary
Functions
Splits a JavaScript module specifier into its path-like part and query string.
Functions
Splits a JavaScript module specifier into its path-like part and query string.
Unlike URL parsing, this preserves package import specifiers such as
#client/constants, where the leading # is part of the JavaScript module
specifier rather than a URL fragment marker.