
Research
Node.js Fixes AsyncLocalStorage Crash Bug That Could Take Down Production Servers
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.
@reasonableconsulting/url
Advanced tools
Work with URLs in ReasonML.
let url = Url.fromString("http://google.com/");
Js.log(url.pathname === Some("/"));
let str = Url.toString(url);
Js.log(str === "http://google.com/");
/* Or with base location */
let url = Url.fromString(~location=Url.fromString("http://google.com"), "/foo?foo=bar");
Js.log(url.href === "http://google.com/foo?foo=bar");
type tThe Url type. Has the shape:
{
href: string,
protocol: option(string),
slashes: bool,
origin: option(string),
host: option(string),
hostname: option(string),
port: option(int),
auth: option(string),
username: option(string),
password: option(string),
pathname: option(string),
querystring: option(string),
hash: option(string),
}
emptyA completely empty Url.t.
toString(url)Turns a Url.t into a string representation.
fromString(~location: t=?, string)Turns a string into a Url.t. Optionally, takes a "base" Url.t as ~location.
make(~protocol: string=?, ~slashes: bool=?, ~host: string=?, ~hostname: string=?, ~port: int=?, ~auth: string=?, ~username: string=?, ~password: string=?, ~pathname: string=?, ~querystring: string=?, ~hash: string=?, unit)Makes a Url.t from all the optional arguments. Useful if you are building up a Url to later stringify.
makeWithLocation(~protocol: string=?, ~slashes: bool=?, ~host: string=?, ~hostname: string=?, ~port: int=?, ~auth: string=?, ~username: string=?, ~password: string=?, ~pathname: string=?, ~querystring: string=?, ~hash: string=?, option(t))Makes a Url.t from all the optional arguments and an option(Url.t) representing the "base" location. This method is mostly used internally but made available for other use cases.
The resolvePathname implementation is a rewrite of mjackson/resolve-pathname - Originally licensed, MIT License - Copyright (c) Michael Jackson 2016-2018.
The fromString, toString, and make implementations are a rewrite of unshiftio/url-parse - Originally licensed, MIT License - Copyright (c) 2015 Unshift.io, Arnout Kazemier, the Contributors.
FAQs
Work with URLs in ReasonML.
The npm package @reasonableconsulting/url receives a total of 0 weekly downloads. As such, @reasonableconsulting/url popularity was classified as not popular.
We found that @reasonableconsulting/url demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Research
Node.js patched a crash bug where AsyncLocalStorage could cause stack overflows to bypass error handlers and terminate production servers.

Research
/Security News
A malicious Chrome extension steals newly created MEXC API keys, exfiltrates them to Telegram, and enables full account takeover with trading and withdrawal rights.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.