How to use peerjs

How do I use Peerjs in a nodejs REPL. To Use Peerjs you usually have to use npm i -g peer to install and then use peerjs --port 3001. install-pkg does not work in nodejs REPLs. How do i install peerjs?

You are viewing a single comment. View All

@coding1001 sure, Don't have much time, only got 10-15 minutes left until next class in school.