nowfound

Life & fun · March 31, 2025

JavaScript PubSub in 163 Bytes

pubsub in <100 bytes.

JavaScript PubSub in 163 Bytes launched on March 31, 2025 with 104 votes, #388 of 6,713 launches that month and more than 95% of that year's launches. The site was still online in September 2026, 1 year on.

Visit github.com ↗Alternativestop 6% of March 2025

In plain words

JavaScript PubSub in 163 Bytes is a lightweight publish-subscribe messaging library for JavaScript developers. It enables decoupled communication between application components through a simple event-based system. The tool is designed for developers who need basic pub-sub functionality without heavyweight dependencies. What stands out is its extremely small footprint at just 163 bytes, making it ideal for projects where code size matters.

written by AI from its launch page and website · 5 September 2026

Originality

73/100

Original. More original than 73% of products launched in 2025.

Similar products before it
2
in the archive on its launch day
See similar products ↓
Similar products since
1
launched after it
See similar products ↓

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

92%

chance that JavaScript PubSub in 163 Bytes’s website is still online in November 2031. Typical launch of 2025 gets 86%.

1 year
98%
typical 96%
3 years
94%
typical 90%
5 years
92%
typical 86%
  • JavaScript PubSub in 163 Bytes
  • Typical launch of 2025

Launch signals stronger than 94% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

pubsub in <100 bytes. Contribute to hassanshaikley/pico-pubsub development by creating an account on GitHub.

The smallest PubSub library possible. Zero Dependencies. 99 bytes. I wrote this article a while back. But I realized...why not just publish the code? Built with JS13K games in mind. Such as cred which is unfortunately in need of some weight loss soon, as it is almost 25KB now. If you have any ideas that may trim off even one single byte please share it. Create an issue! I don't mind. let t = { } ; sub = ( e , c ) => ( ( t [ e ] ??= new Set ( ) ) . add ( c ) , ( _ ) => t [ e ] . delete ( c ) ) ; pub = ( e , d ) => t [ e ] ?. forEach ( ( f ) => f ( d ) ) ; Usage npm install pico-pubsub const unsub = sub ( 'jump' , function ( anything ) { console . log ( "someone jumped - " + anything ) } ) ;…from github.com

Pricing, as stated on its site

Free — Free and open source

checked November 2026 · prices change

  • Million.js2021 · github.com · ▲153

    🦁 <1kb compiler-augmented virtual DOM. It's fast!

  • Iso20022.js2024 · iso20022js.com · ▲291

    iso20022.js is an open source library to create and manage ISO20022 payment messages

  • SP
    Simple pub/sub using WebSockets in Node.js2022 · npmjs.com · ▲13

    This is a Node.js pub/sub module that uses WebSockets to enable microservices to communicate through event messages.

  • Deepstream.io2016 · deepstream.io · ▲301

    A realtime server for the modern web

  • HyperApp2018 · github.com · ▲303

    1kB-ish JavaScript framework for building hypertext applications

  • SE
    @smoores/epub2024 · npmjs.com · ▲156

    @smoores/epub is a JavaScript library for reading and writing EPUB files in Node.js.

More life & fun this month

the category →

Is JavaScript PubSub in 163 Bytes yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗

Launched alongside, March 2025

the whole month →