Nano Events is a minimalistic, high-performance event emitter library for JavaScript. Its goal is to provide the simplest possible API to add pub/sub capabilities (emitters and listeners) to any JS object or application, while keeping overhead and bundle size extremely small. Rather than offering many complex features, nanoevents focuses on the core primitives: creating an emitter, subscribing to named events, emitting events with arbitrary data, and unsubscribing. Because of its minimal API surface and implementation, it’s very easy to integrate into frontend or backend JS/TypeScript projects without introducing significant dependencies or weight. The simplicity reduces cognitive load: developers don’t need to read long docs or worry about advanced event semantics.

Features

  • Very small footprint — minimal code and tiny bundle size compared to big event libraries
  • Simple API: createNanoEvents() returns emitter with .on() and .emit() methods
  • Lightweight subscription and clean unsubscription handling for memory-safe event use
  • Framework-agnostic — works in Node.js or browser JS environments, plain JavaScript or TypeScript
  • Instant integration into existing projects without heavy dependencies or configuration
  • Good for simple pub/sub, reactive patterns, or bridging loose-coupled modules

Project Samples

Project Activity

See All Activity >

Categories

Libraries

License

MIT License

Follow Nano Events

Nano Events Web Site

Other Useful Business Software
Run Any Workload on Compute Engine VMs Icon
Run Any Workload on Compute Engine VMs

From dev environments to AI training, choose preset or custom VMs with 1–96 vCPUs and industry-leading 99.95% uptime SLA.

Compute Engine delivers high-performance virtual machines for web apps, databases, containers, and AI workloads. Choose from general-purpose, compute-optimized, or GPU/TPU-accelerated machine types—or build custom VMs to match your exact specs. With live migration and automatic failover, your workloads stay online. New customers get $300 in free credits.
Try Compute Engine
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Nano Events!

Additional Project Details

Programming Language

TypeScript

Related Categories

TypeScript Libraries

Registered

2025-11-27