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

plain-event-bus

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

plain-event-bus - npm Package Compare versions

Comparing version

to
0.1.1

2

package.json
{
"name": "plain-event-bus",
"version": "0.1.0",
"version": "0.1.1",
"description": "Event bus",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -5,1 +5,12 @@ 'use strict';

const { EventBus, EventChanell } = require('.');
const bus = new EventBus;
const chanell = bus.createEventChanell('ololo');
chanell.on('event', console.log);
chanell.on('event', console.log);
chanell.on('event', console.log);
console.log(chanell);