3 ms·
There are a lot of gotcha's when rolling your own web server based on the http and https packages and I think the conclusion of the article could have gone furt
by brod 8y ago
There are a lot of gotcha's when rolling your own web server based on the http and https packages and I think the conclusion of the article could have gone further in addressing what they are and in what context they might matter. I recently wrote a little zero-dependency NodeJs http/s server[1] with an equally dumb router for some dev tools which could benefit from a simple, promise based api, for most other use cases I'd just pull in express or something more mature.
[1]https://github.com/8eecf0d2/decade https://github.com/8eecf0d2/decade