Skip to content

Reduced version of library that does not require whatwg-url #7

Description

@TimothyGu

I'm trying to add support for data URLs in node-fetch, which currently has zero dependencies. I would of course like to use this module, but this brings in the whatwg-url module as a dependency, which is huge and in many cases these days unnecessary because of the native Node.js URL class.

@domenic would you be open to the idea of having a sister package to this one that assumes the input is a valid serialized URL, i.e., a version of data: URL processor starting at step 3, and possibly have the main data-urls package depend on it for most of the logic?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions