To install a NodeJS module, you will first have to navigate to the panel.
Go to the startup tab.

Find the additional node packages section.

Type the module you wish to install.