Phoenix JavaScript client?

Is there a Javacript client to use for phoenix channels? I know there is in Typescript within phoenix app, but I want to use JavaScript client in a front end of a website that is not related to phoenix.

Yes. The JavaScript client is part of the phoenix npm module. An example on using it is included in each Phoenix app you create using mix in the file socket.js.

Thank you