Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@liquidcloudteam/pubsub

Package Overview
Dependencies
Maintainers
0
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@liquidcloudteam/pubsub

Lightweight pub/sub library to provide real-time communication between Liquid apps and components

latest
Source
npmnpm
Version
2.1.14
Version published
Maintainers
0
Created
Source

@liquidclouddev/pubsub

Lightweight pub/sub library to provide real-time communication between Liquid apps and components.

Usage

Install the dependency:

npm install @liquidclouddev/pubsub
import { PubSub } from '@liquidclouddev/pubsub';

const pubsub = new PubSub();

pubsub.subscribe('my-topic', (data) => {
  console.log(data);
});

pubsub.publish('my-topic', { foo: 'bar' });

FAQs

Package last updated on 07 Aug 2024

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