Tobias Lundin

Results 11 comments of Tobias Lundin

Agreed, I just bumped into this using `express-http-proxy` that pulls types directly from `import("node:http").RequestOptions['lookup']` where `IPFamily` is defined as - `family?: number | undefined;` vs types in this module that...

I don't see why not 😊 Are you willing to create a PR?

thats correct and I don't think it fit's the purpose of this module either, unfortunately. I'd rather look at https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DurationFormat for formatting (or a polyfill) since it's something that's coming...

Another example where this is apparent is `IncomingHttpHeaders` in Node that is defined (approx.) like so: ```ts interface IncomingHttpHeaders extends Record { // [66 other named properties]?: string; 'set-cookie'?: string[];...

the license is also listed in `package.json`, seems weird that that is not picked up by such tools. What specific tools are you referring to?

Sure 👍

Thanks for the well put-together pull request Marius 🙏 However, I do feel that this functionality is so trivial that it fits better in consuming code rather than in this...

And please say hello for me to any of my old colleagues at Netligt (I left in 2015) 👋

a server-timing middleware sounds like a much better plan, totally agree that the runtime cost probably isn't worth it 👍 I am a bit fond of the DX you get...

Oh great! Thanks 🙌 Yes that was a bit confusing 😆 (`deno-server`) Since they have a few options to choose from... I think I also got a bit influenced by...