PubSubJS is a lightweight JavaScript library that enables asynchronous communication among unrelated components through the publish-subscribe pattern. This pattern simplifies event handling, reduces dependencies, and supports modular code organization. PubSubJS helps developers efficiently propagate messages between components without direct interaction. It is highly scalable, easy to implement, and supports a wide range of use-cases which makes it an ideal choice for event-driven applications. Additionally, PubSubJS is framework-independent, which allows seamless integration with popular libraries such as React, Angular, or Vue.js.

193,540
websites using PubSubJS
Create a technology report โ†’
Export with emails, socials, country, TLD and industry filters
Websites using PubSubJS by countrymarket share ยท top 8 countries
๐Ÿ‡บ๐Ÿ‡ธUnited States
7.3%
๐Ÿ‡ฌ๐Ÿ‡งUnited Kingdom
3.5%
๐Ÿ‡ฆ๐Ÿ‡บAustralia
2.2%
๐Ÿ‡จ๐Ÿ‡ฆCanada
2%
๐Ÿ‡ฉ๐Ÿ‡ชGermany
2%
๐Ÿ‡ฎ๐Ÿ‡ณIndia
1.4%
๐Ÿ‡ซ๐Ÿ‡ทFrance
1.1%
๐Ÿ‡ณ๐Ÿ‡ฑNetherlands
0.9%
0%2%4%6%8%
Websites using PubSubJS by industrydetected industries
Shopping ยท 38%Fashion & Beauty ยท 32%Food & Drink ยท 15%Health & Fitness ยท 6.3%Technology & Computing ยท 5%Sports ยท 4.1%MARKETSHARE
Shopping38%
Fashion & Beauty32%
Food & Drink15%
Health & Fitness6.3%
Technology & Computing5%
Sports4.1%

Websites using PubSubJS

showing 25 of 193,540
WebsiteCountryIndustryEmailsTitle / DescriptionSocials
litres.ru๐Ÿ‡ท๐Ÿ‡บRussian FederationTechnology & Computingandroid@litres.ru+25
-
youtube
zellbury.com๐Ÿ‡ต๐Ÿ‡ฐPakistanFashion & Beautycustomer.care@zellbury.com
ZELLBURY - Real Fashion, Real Prices - Best Online Fashion store
Online Fashion Shopping in Pakistan made fabulous and trendy by ZELLBURY. One-stop online fashion store for Men, Women and Kids Clothing. Top up your wardrobe with our new arrivals. Next-Day Delivery in 50 cities. Order Now!
facebookinstagramyoutubetiktok
wyze.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesHardware & Electronicsfriends@wyze.com+9
-
youtubefacebooktwitterinstagramtiktok
overstock.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesShoppingalee@overstock.com+57
-
facebookinstagramtwitteryoutubetiktok
css-tricks.com๐Ÿ‡ฌ๐Ÿ‡งUnited KingdomEntertainment-
-
instagramyoutubetwitter
worldofbooks.com๐Ÿ‡ฌ๐Ÿ‡งUnited KingdomShoppingcustomerservice@worldofbooks.com+3
World of Books | Buy used books online | Wob
Browse our massive collection of over 2 million used books. World of Books is one of the largest online sellers of second-hand books. Free US shipping on orders over $15.
facebookinstagramtiktoktwitter
oclean.com๐Ÿ‡จ๐Ÿ‡ณChinaShoppingaffiliate@oclean.com+12
-
tiktokinstagramyoutube
bmwusa.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesAutomotiveactiveecustomerrelations@bmwusa.com+13
-
instagramyoutubefacebooktwitter
palm.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesHardware & Electronicsaleksandra.kallas@palm.com+27
-
-
redtape.com๐Ÿ‡ฎ๐Ÿ‡ณIndiaFashion & Beauty-
-
youtubetwitterinstagramfacebook
gaomon.net๐Ÿ‡จ๐Ÿ‡ณChinaHardware & Electronicscontest@gaomon.net+4
-
youtubefacebookinstagramtwitter
stanley1913.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesSocietykarin.rodriguez@stanley1913.com+6
Stanley 1913 Drinkware & Gear | Bottles, Tumblers, Growlers & More
Stanley PMI Online Store | Offers an assortment of Vacuum Bottles, Mugs, thermoses, Cookware and more!
tiktokinstagramfacebookyoutube
deodap.in๐Ÿ‡ฎ๐Ÿ‡ณIndiaWholesale & Distribution-
DeoDap - Your Reliable Wholesale Supplier of Top-Selling Products
Welcome to DeoDap, your trusted source for wholesale top-selling products. Explore our wide range of quality items for your home, kitchen, office, toys, and health needs.
youtubefacebookyoutube
westside.com๐Ÿ‡ฎ๐Ÿ‡ณIndiaShoppingadmin@westside.com+4
Westside - A Tata Enterprise | Best Online Shopping Site in India
Shop at India's Best Online Shopping Site for Men, Women , Kids Fashion. Discover wide range of clothing, footwear, bags , beauty products for men, women , kids at Westside Online Shopping Store.
youtubeinstagramtwitter
levi.in๐Ÿ‡ฎ๐Ÿ‡ณIndiaShoppingcustomercare@levi.in+2
-
twitteryoutubeinstagram
istudiosg.com๐Ÿ‡ธ๐Ÿ‡ฌSingaporeHardware & Electronicsfeedback@istudiosg.com
-
instagramfacebookyoutube
zulily.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesShoppingaccountspayable@zulily.com+19
Zulily | Daily Deals on Fashion, Home, Kidsโ€™ Items & More
Shop Zulily for daily deals on clothing, home dรฉcor, toys, beauty, and more. Discover unique finds and top brands at up to 70% off. New sales launch every day, so thereโ€™s always something fresh to explore. Save big while shopping for women, kids, men, and your home.
twitterfacebookinstagram
greatergood.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesNon-profit & Charityadv@greatergood.com+12
-
-
giva.co๐Ÿ‡ฎ๐Ÿ‡ณIndiaFashion & Beautyanadi@giva.co+6
GIVA: Gold & 925 Silver Jewellery | Lab-Grown Diamonds โ€“ GIVA Jewellery
GIVA offers BIS Hallmark Gold, 925 Silver & 100% Certified Lab-Grown Diamond Jewellery Online. Latest designs โœ“ Lifetime exchange. Perfect for weddings, gifts & daily wear!
facebookyoutubeinstagramlinkedin
proxibid.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesTechnology & Computingaccountmanagers@proxibid.com+16
-
-
domo.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesSoftware Development3rdpartyconnectorhelp@domo.com+56
-
-
aph.gov.au๐Ÿ‡ฆ๐Ÿ‡บAustraliaLaw & Government-
-
-
toysrus.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesShopping973-617-4807meghan.kennedy@toysrus.com+102
-
twitterfacebooktiktokyoutubeinstagram
theanimalrescuesite.com๐Ÿ‡บ๐Ÿ‡ธUnited StatesAgriculture & Farming-
-
-
beechtree.pk๐Ÿ‡ต๐Ÿ‡ฐPakistanFashion & Beautycustomercare@beechtree.pk+1
-
facebookinstagram
Showing 25 of 193,540 websitesGet the full list โ†’

Frequently asked

What is PubSubJS?โ€บ
PubSubJS is a lightweight JavaScript library for implementing the Publish-Subscribe (Pub/Sub) pattern. It allows developers to create event-driven applications by decoupling the components that publish events from those that subscribe to them, making the code more maintainable and scalable.
How do I get started with PubSubJS?โ€บ
To start using PubSubJS, you can include it in your project either by downloading the library from the official GitHub repository or by using a package manager like npm. Once included, you can use the PubSub.publish() and PubSub.subscribe() methods to create and listen for custom events in your application.
Can I unsubscribe from a topic using PubSubJS?โ€บ
Yes, you can unsubscribe from a topic by using the PubSub.unsubscribe() method. This method requires the token returned when subscribing to the topic as a parameter. When called, it will remove the associated subscription, preventing the subscriber from receiving any future messages on that topic.
Is PubSubJS compatible with Node.js?โ€บ
Yes, PubSubJS is compatible with both Node.js and browser environments. To use PubSubJS in your Node.js project, you can install it using npm and then require the package in your script file. It works seamlessly in both environments, allowing you to take advantage of the Pub/Sub pattern in server-side and client-side applications alike.
Does PubSubJS support message filtering?โ€บ
PubSubJS does not provide built-in message filtering, but you can easily implement custom filtering logic in your subscribe callback function. When you subscribe to a topic, your callback function will receive the message payload as its second parameter. You can apply any filtering conditions on this payload, deciding whether to process the message or disregard it based on your requirements.

Get the free browser extension

Identify the technology stack of any website instantly, right from your browser.