New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

@realmq/node-sdk

Package Overview
Dependencies
Maintainers
4
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@realmq/node-sdk

The realmq node sdk provides developer friendly access to realmq REST & Realtime APIs.

latest
Source
npmnpm
Version
0.2.1
Version published
Weekly downloads
9
80%
Maintainers
4
Weekly downloads
 
Created
Source

RealMQ Node.js SDK

NPM Package Build Status code style: prettier MIT license FOSSA Status

This node SDK provides developer friendly access the RealMQ REST & Real-time APIs.

About

RealMQ is a highly scalable, privacy compliant real-time communication backbone. Our focus is to deliver great service with best possible integrability while you keep full control over your data.

Getting Started

Get in touch with us to get an RealMQ account set up. You can do that by sending an email to service@realmq.com.

Installation

$ yarn add @realmq/node-sdk
// or
$ npm i -S @realmq/node-sdk

Usage

const realmq = require('@realmq/node-sdk')('<AUTH_TOKEN>');

// create some resource
const subscription = await realmq.subscriptions.create({
  userId: 'user-1',
  channelId: 'channel-1',
  allowRead: true,
});

// or connect to the real-time API
await realmq.rtm.connect();

// and publish some message
realmq.rtm.publish({
  channel: 'channel-1',
  message: {
    text: 'Welcome!'
  }
});

// receive messages
realmq.rtm.on('message', (message) => {
  console.warn(`received new message in channel: ${message.channel}`, message.data)
});

Documentation

Please check out our full documentation on realmq.com/docs/node-sdk.

LICENSE

The files in this archive are released under MIT license. You can find a copy of this license in LICENSE.

FOSSA Status

Keywords

realtime

FAQs

Package last updated on 11 Mar 2023

Did you know?

Socket

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.

Install

Related posts