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?