defunctzombie / node-url

node.js core url module as a module
MIT License
375 stars 96 forks source link

Why not toString? #38

Closed gwiron closed 3 years ago

gwiron commented 6 years ago

Many methods written in the document, why not here?

The reference in the document is URL, and why is it actually Url?

const { Url } = require ('url')
gwiron commented 6 years ago

This URL non node URL?

Setitch commented 4 years ago

The name 'url' is builtin module for node, this trash module here breaks usage of that module. For example with browserity - you cannot work properly with URL module from node, as this trash takes is place.

ljharb commented 3 years ago

This is a browser-compatible replacement for node's core url module.

Anything it supports and we don't, is a bug. Anything it doesn't support, we won't be adding, and you should file an issue on node itself requesting that support.