New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

busa

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

busa - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

2

dist/bus.js

@@ -1,1 +0,1 @@

var b={},e={},f=(e.on=function(a,d){b[a]||(b[a]=[]);b[a].push(d)},e.off=function(a,d){for(var c=0;c<b[a].length;c++)d===b[a][c]&&b[a].splice(c,1)},e.emit=function(a,d){for(var c=0;c<b[a].length;c++)b[a][c](d)},e);'undefined'!==typeof module?module.exports=f:window.busa=f;
var b={},e={},f=(e.on=function(a,d){b[a]||(b[a]=[]);b[a].push(d)},e.off=function(a,d){for(var c=0;c<(b[a]||[]).length;c++)d===b[a][c]&&b[a].splice(c,1)},e.emit=function(a,d){for(var c=0;c<(b[a]||[]).length;c++)b[a][c](d)},e);'undefined'!==typeof module?module.exports=f:window.busa=f;
{
"name": "busa",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/bus.js",

@@ -5,0 +5,0 @@ "scripts": {

A Busa is a silly mustache that makes its wearer especially opinionated and unreasonable.
#### Example
```javascript
/**
* This will fire handle off on window load.
* If an error is encountered before the handle
* is removed and will not fire.
*/
import bus from "busa";
function handle(props) {
console.log(props.msg);
}
bus.on("window:load", handle);
window.addEventListener("load", function(event) {
bus.emit("window:load", { msg: "Done loading", event });
});
window.addEventListener("error", function(event) {
bus.off("window:load", handle);
});
```
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc