From 55ad6f0e23363f5b43d9ede28ba662e22c37fbf1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Rom=C3=A1n?= Date: Fri, 11 Jun 2021 22:30:09 +0200 Subject: [PATCH] docs(README): re-add install command, remove voice remnants (#5817) --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 831fff5cd43c..8440933324f0 100644 --- a/README.md +++ b/README.md @@ -42,15 +42,15 @@ discord.js is a powerful [Node.js](https://nodejs.org) module that allows you to ## Installation **Node.js 14.0.0 or newer is required.** -Ignore any warnings about unmet peer dependencies, as they're all optional. + +```sh-session +npm install discord.js +``` ### Optional packages - [zlib-sync](https://www.npmjs.com/package/zlib-sync) for WebSocket data compression and inflation (`npm install zlib-sync`) - [erlpack](https://github.com/discord/erlpack) for significantly faster WebSocket data (de)serialisation (`npm install discord/erlpack`) -- One of the following packages can be installed for faster voice packet encryption and decryption: - - [sodium](https://www.npmjs.com/package/sodium) (`npm install sodium`) - - [libsodium.js](https://www.npmjs.com/package/libsodium-wrappers) (`npm install libsodium-wrappers`) - [bufferutil](https://www.npmjs.com/package/bufferutil) for a much faster WebSocket connection (`npm install bufferutil`) - [utf-8-validate](https://www.npmjs.com/package/utf-8-validate) in combination with `bufferutil` for much faster WebSocket processing (`npm install utf-8-validate`) - [@discordjs/voice](https://github.com/discordjs/voice) for interacting with the Discord Voice API