Skip to content

parseUri #19

@slevithan

Description

@slevithan

Suggestion: parseUri.

Submitting as an issue because it doesn't have 100+ stars. But it's used by thousands for 17 years. It just hasn't been on GitHub until now because it predated GitHub. It lived on my blog until a recent update, and it has been reused in numerous packages and libraries over the years, including this (now official) package with ~1.5 million weekly downloads. So it has community review. Plus, it really is a strong example of doing a lot with a tiny amount of JS (1.4KB min/gzip for the esbuild bundle, but the actual JS source reduces to < 1.1KB). Comparable libraries are often thousands of lines of code and still not as robust, and parseUri is < 50 lines.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions