Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
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 0 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.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.