Results 71 comments of Sven Slootweg

Hmm. I feel like this kind of socket management would be outside of the scope of a library like `express-ws`, although in the end, it'll be @HenningM's call. I think...

I opted for not using this package due to the limitations stated in the README, and stuck with combinator syntax instead. However, it is news to me that there *is*...

Thanks! Is there any formal documentation about this feature anywhere? I'm particularly interested in the limitations of it (if any), and I *suspect* that many of the users of this...

Hmm. The `locals` property is only really meant to be used for templating purposes (eg. to pass variables to the `view engine`) - that's why it exists on the `res`...

`npm` uses the [`init-package-json`](https://www.npmjs.com/package/init-package-json) package which defines its normalization [here](https://github.com/npm/init-package-json/blob/4a9b5f1832bd2709e6e432f019f1a964b7159910/lib/default-input.js#L48).

> I don't see how declaring that a particular domain doesn't track users would break session persistence. Wait, surely Privacy Badger doesn't blindly trust a DNT *declaration* if the behaviour...

> `npm i` replacing any links does appear to be the intended default behaviour. That behaviour doesn't make any sense for the intended usecase, though, and this is not how...

You can use the [Upper Titlebar](https://github.com/FezVrasta/brackets-upper-titlebar) extension for this.

> Yes, I could leave it in the repo but remove it from the npm package. That seems like a reasonable solution. Keep in mind that adding an `.npmignore` will...

You *can* use standard Express middleware with `express-ws` - however, you *can't* use middleware that relies on doing something with the `res`. The reason for this is that `express-ws` will...