
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
bambis-eventbus
Advanced tools
An ES6 event bus class to be used as a global eventbus or to extend objects
An Event bus class to be used as a standalone object, or to extend existing objects
One to two paragraph statement about your product and what it does.
it is possible to use npm to install it as package with your existing project as a module, or as a global node module. this can also be used in the browser.
Inside your projects directory as
npm install bambis-eventbus
As a global module:
npm install bambis-eventbus -g
Or use as a package from github:
git clone https://github.com/BambiHaber/EventBus.git
Files ready to be used would be under the 'dist' directory (EventBus.js, and a minified EventBus.min.js)
It possible to use the package in the browser, or in node.
const EventBus = require('bambis-eventbus');
let eventBus = new EventBus();
eventBus.listenTo('hello', () => {
console.log('Hello world');
});
eventBus.trigger('hello');
Would output 'Hello World'
npm start
command inside that directory and it would start a demo server with example code.If by any case you would like to build the package yourself, you can go to the root directory and run the npm install, then gulp
. This will generate the dist directory.
FAQs
An ES6 event bus class to be used as a global eventbus or to extend objects
The npm package bambis-eventbus receives a total of 2 weekly downloads. As such, bambis-eventbus popularity was classified as not popular.
We found that bambis-eventbus demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.