🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more

bare-events

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bare-events

Event emitters for JavaScript

2.5.4
latest
Version published
Weekly downloads
12M
-3.05%
Maintainers
2
Weekly downloads
 
Created

bare-events

Event emitters for JavaScript.

npm install bare-events

Usage

const EventEmitter = require('bare-events')

const e = new EventEmitter()

e.on('hello', function (data) {
  console.log(data)
})

e.emit('hello', 'world')

License

Apache-2.0

FAQs

Package last updated on 10 Jan 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts