Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

socketmq

Package Overview
Dependencies
Maintainers
2
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

socketmq - npm Package Compare versions

Comparing version 0.6.0 to 0.6.1

17

index.js
var Socket = require('./lib/socket/index')
var SocketHub = require('./lib/socket' + '/hub')
var SocketGateway = require('./lib/socket' + '/gateway')
var SocketChannel = require('./lib/socket/channel')

@@ -24,3 +22,13 @@

socketmq.channel = function(ns, name) {
return new SocketChannel(null, ns, name)
}
/**
* Server side API
* @return {[type]} [description]
*/
socketmq.hub = function() {
var SocketHub = require('./lib/socket' + '/hub')
return new SocketHub()

@@ -30,7 +38,4 @@ }

socketmq.gateway = function() {
var SocketGateway = require('./lib/socket' + '/gateway')
return new SocketGateway()
}
socketmq.channel = function(ns, name) {
return new SocketChannel(null, ns, name)
}
{
"name": "socketmq",
"version": "0.6.0",
"version": "0.6.1",
"description": "Lightweight stream-oriented messaging library for node.",

@@ -5,0 +5,0 @@ "main": "index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc