#[ws] What are the optional dependencies for web socket optimization?

1 messages · Page 1 of 1 (latest)

mighty quartz

The optional dependencies of DJS for web socket optimization are:

  • zlib-sync
  • erlpack
  • bufferutil
  • utf-8-validate

I recently migrated from DJS to discordjs/ws and I'm wondering what are the optional dependencies for ws optimization here.
I installed zlib-sync to have zlib-stream compression, but is it still recommended to have erlpack, bufferutil and utf-8-validate?

Thanks!