Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
fanoutpub
Advanced tools
Readme
Version: v 1.0.1
Date: January 21th, 2015
Author: Katsuyuki Ohmuro harmony7@pex2.jp, Konstantin Bokarius kon@fanout.io
Fanout Pubsub Protocol library for NodeJS.
The Fanout pubsub protocol is used to send simple realtime messages over a communications channel. This library has been designed for use with the Fanout.io pubsub service.
This library implements the JsonObject format as a custom data format for pubcontrol, an EPCP library for NodeJS. These data objects created using node fanoutpub may also be used with pubcontrol's publisher if desired.
This library also provides some convenience methods that provide simple ways to set up a publisher when working with the Fanout service.
pubcontrol
The simple usage of node-fanoutpub is with the Fanout.io service. This usage requires a realm name and a base64-encoded realm key, which are available to users of the Fanout service.
var util = require('util');
var fanout = require('fanoutpub');
var callback = function(success, message, context) {
if (success) {
console.log('Publish successful!');
}
else {
console.log('Publish failed!');
console.log('Message: ' + message);
console.log('Context: ');
console.dir(context);
}
};
var fanout = new fanout.Fanout('<myrealm>', '<myrealmkey>');
fanout.publish('<channel>', 'Test Publish!', callback);
(C) 2015 Fanout, Inc.
Licensed under the MIT License, see file COPYING for details.
FAQs
Fanout Pubsub Protocol Library
The npm package fanoutpub receives a total of 231 weekly downloads. As such, fanoutpub popularity was classified as not popular.
We found that fanoutpub demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.