Faye

Simple pub/sub messaging for the web

Download Faye

The latest version is 1.2.2, released July 18 2016. It is open-source software, released under the MIT license. You can follow development on Faye’s GitHub page.

Download for Node.js and web browsers

The Node.js version is available through npm. This package contains a copy of the browser client, which is served up by the Faye server when running.

npm install faye

If you’re using Browserify, Webpack or a similar build tool, then requiring faye will get you the client-side package, for example:

var faye = require('faye');

var client = new faye.Client('http://localhost:8000/faye');

If you’re not using such a toolchain, you can get the client bundle from the client directory within the npm install.

Download for Ruby

For Ruby platforms, Faye is installable through RubyGems.

gem install faye

This package also includes the browser client which is served up by the Faye server when running.