{"library":"bare-events","type":"library","category":null,"description":"Bare Events is a lightweight and minimal event emitter library for JavaScript, designed for both Node.js and browser environments. It provides a simple API for event-driven programming, allowing developers to subscribe to and emit custom events efficiently. The package is actively maintained, with version 2.8.2 being the latest stable release as of late 2025/early 2026, and new versions released as needed. As part of the Holepunch ecosystem, it emphasizes a 'bare-bones' approach, contrasting with more feature-rich alternatives by focusing solely on core event emitting functionality. It ships with built-in TypeScript type declarations, making it well-suited for modern JavaScript and TypeScript projects that prioritize minimal overhead and explicit control over event handling.","language":"javascript","status":"active","version":"2.8.2","tags":["javascript","typescript"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bare-events","imports":["import { EventEmitter } from 'bare-events'","const EventEmitter = require('bare-events')","import type { EventEmitter } from 'bare-events'"]},{"cmd":"yarn add bare-events","imports":[]},{"cmd":"pnpm add bare-events","imports":[]}],"homepage":null,"github":"https://github.com/holepunchto/bare-events","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bare-events","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bare-events/compatibility"}}