Benjamin Gruenbaum
Benjamin Gruenbaum
@ronag undici is shipped as part of Node isn't it? Or do you mean the userland lib itself? Node can't expose weak event listeners outside of core (due to spec...
Not much capacity right now, feel free to take over the PR (edit this on the branch or start a new one)
Is this what you had in mind in terms of semantics? https://github.com/benjamingr/io.js/commit/070485195abe41dce9bf1143bb4f3e47b170f2ca#diff-6610c8d452ba38a0db8c591e06af555bc7755ace17065a066c853ffcc5271559R7-R20
@aduh95 wdyt about an implementation that does that? ( https://github.com/nodejs/node/issues/41521#issuecomment-1042071145 )
@aduh95 I think it's safe to say "if this can be an npm module, sindre has already probably published one" :D Making small useful modules kind of their thing. Edit:...
Basically: I think the main issue with this being on npm is that file urls and paths are both very common in modern Node.js and not having a utility to...
So you would expect: ```js path.from('file:///Users/sindresorhus'); //=> file:///Users/sindresorhus ``` ?
Would it be fine if the name was more explicit like `path.fromURL` or `path.fromFileURL` ?
@MoLow wanna take a look?
Also cc @nodejs/tsc since this can break stuf