I’ve come across a pretty useful little object in my global space:
url
Its methods are:
> url
{ parse: [Function: urlParse],
resolve: [Function: urlResolve],
resolveObject: [Function: urlResolveObject],
format: [Function: urlFormat],
Url: [Function: Url] }
Unfortunately, I have no idea where it’s coming from, and it’s only available inside my local meteor shell
. It’s nowhere to be found in production ([ReferenceError: url is not defined]
) and I’ve been relying on it.
Any idea which package this is coming from? http
? the url
package provides URL
, not url
…