discord.js : A powerful library for interacting with the Discord API. You can installing discord.js npm packages, there are two ways to install this module locally and globaly. -g option is specified to global. Execute the below command.
$ sudo npm install discord.js $ sudo npm install -g discord.js
If want to update the discord.js package execute the command as below,
$ sudo npm update discord.js
Update package globally,
$ npm install -g discord.js
$ sudo git clone https://github.com/rektide/discord.js.git
$ sudo npm install -g ./discord.js
discord.js@11.2.1 /usr/lib/node_modules/discord.js
You can uninstall or remove this package from your node_modules run the command as below,
$ sudo npm uninstall discord.js
| Package Name | discord.js |
| Version | 11.2.1 |
| Description | A powerful library for interacting with the Discord API |
| Released Date | 2017-09-03T18:56:01.879Z |
| Published by | hydrabolt |
| How to Learn | https://www.npmjs.com/package/discord.js/tutorial |