MicroEvent.js - js micro event emitter in less than 20lines
MicroEvent.js - js micro event emitter in less than 20lines launched on March 23, 2011 with 60 votes, #19 of 272 launches that month and more than 90% of that year's launches.
In plain words
MicroEvent.js is a lightweight JavaScript event emitter library that implements core publish-subscribe functionality in fewer than 20 lines of code. It is designed for developers who need to add event handling capabilities to their applications without heavy dependencies. The library's main feature is its minimal footprint, making it suitable for projects where code size matters, such as embedded scripts or performance-critical applications.
written from the facts on this page · September 2026
Does a similar job
all alternatives →
Minified.js – a fully-featured, 4K alternative to jQuery and MooTools2013 · minifiedjs.com · ▲158
µJS, a 5KB alternative to Htmx and Turbo with zero dependenciesMar 2026 · mujs.org · ▲161I built µJS because I wanted AJAX navigation without the verbosity of HTMX or the overhead of Turbo. It intercepts links and form submissions, fetches pages via AJAX, and swaps fragments of the DOM. Single tag, one call to `mu.init()`. No build step, no dependencies. Key features: patch mode (update multiple fragments in one request), SSE support, DOM morphing via idiomorph, View Transitions, prefetch on hover, polling, and full HTTP verb support on any element. At ~5KB gzipped, it's smaller than HTMX (16KB) and Turbo (25KB), and works with any backend: PHP, Python, Go, Ruby, whatever.…
Faster.js – a micro-optimizing JavaScript compiler2018 · github.com · ▲89faster.js is a Babel plugin that compiles idiomatic Javascript to faster, micro-optimized Javascript. - vzhou842/faster.js


More life & fun this month
the category →
A free city-building game in your browser. You are the mayor. You know what the city needs. Now get it past the zoning board, the neighbors, the appeals court and the next election.
Life & fun · 23h ago · permit.petercai.com
- IV
Life & fun · 13d ago · tanzaniaeducationproject.org

Turn a phone, tablet or TV into a sign. Type a message and it fills the screen: welcome signs, timers, Wi-Fi passwords and more. No app, no account, free.
Life & fun · 14d ago · bigwords.page

Play a free virtual guitar online with your keyboard or by touch. Slow songs down and see every chord, string and strum. Acoustic, classic, electric and bass.
Life & fun · 8d ago · guitoro.com

Carrier settings from iPhone, Pixel and Galaxy firmware, decoded and compared: APNs, VoLTE, 5G and Wi-Fi Calling per carrier, and what each build changed.
Life & fun · 12d ago · carrierexplode.com

Life & fun · 22d ago · space.bl2.net
Source: Show HN post ↗
Launched alongside, March 2011
the whole month →- MC
Life & fun · 2011 · zetabee.com
- NW
My buddy paulsingh and I have been working on this for a few weeks, got something up and running and wanted to show you. The problem we're solving: When you need customer service (your flight got canceled, strange fees on your bill, etc) you just want to talk to a real person. Waiting on hold wastes your time AND your concentration; you can't be coding in the zone when part of your brain is waiting for an operator. Our solution: We wanted to make it "one click" to reach a real person. How it works: You click on who you want to talk to (even a specific department, like the billing dept at…
Dev tools · 2011 · fastcustomer.com
- BA
Life & fun · 2011 · clayallsopp.posterous.com
- MN
Work · 2011 · colorapi.com
- RL
Documentation for Diffbot — transform the raw web into structured knowledge.
AI · 2011 · diffbot.com
- IM
I recently decided to try out Google Tasks as my only task management system, and while I find some things about the interface great, it really isn't suited for someone like me who has multiple lists with lots of elements on each. So, I whipped this together real fast and I can't imagine using Google Tasks without it anymore. I realized you might want it too, so I put it on the web. Enjoy :)
Work · 2011 · gtasker.com