bower install purescript-websocket-simple
If you are intending to use the library in a Node.js setting rather than the browser, you will need an additional dependency from npm:
npm
npm install ws
See example/src/Main.purs.
example/src/Main.purs
Docs are on Pursuit