Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

irish-pub-sub

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

irish-pub-sub - npm Package Compare versions

Comparing version 1.1.0 to 1.1.1

4

package.json
{
"name": "irish-pub-sub",
"version": "1.1.0",
"description": "🍀131b Pubsub system",
"version": "1.1.1",
"description": "🍀97b Pubsub system",
"main": "index.js",

@@ -6,0 +6,0 @@ "repository": "https://github.com/bratsos/irish-pubsub",

<p align="center">
<h1>🍀 Irish PubSub - 131b pubsub system</h1>
<h1>🍀 Irish PubSub - 97b pubsub system</h1>
<br>
<a href="https://www.npmjs.org/package/irish-pub-sub"><a href="https://unpkg.com/irish-pub-sub/dist/index.min.umd.js"><img src="http://img.badgesize.io/https://unpkg.com/irish-pub-sub/dist/index.min.js?compression=gzip" alt="gzip size"></a> <a href="https://packagephobia.now.sh/result?p=irish-pub-sub"><img src="https://packagephobia.now.sh/badge?p=irish-pub-sub" alt="install size"></a>
</p>
<a href="https://unpkg.com/irish-pub-sub/dist/index.min.umd.js">
<img src="http://img.badgesize.io/https://unpkg.com/irish-pub-sub@1.1.1/dist/index.min.js?compression=gzip" alt="gzip size">
</a>
<a href="https://unpkg.com/irish-pub-sub/dist/index.min.umd.js">
<img src="http://img.badgesize.io/https://unpkg.com/irish-pub-sub@1.1.1/dist/index.min.js?compression=brotli" alt="brotli size">
</a>
<a href="https://packagephobia.now.sh/result?p=irish-pub-sub">
<img src="https://packagephobia.now.sh/badge?p=irish-pub-sub" alt="install size">
</a>
</p>1
Modern (es6) functional Pubsub system (no `class`, or `this`), weights about 131b minified + gzipped.
Modern (es6) functional Pubsub system (no `class`, or `this`), weights about 97b minified + gzipped.

@@ -25,4 +33,5 @@ <h2>Install</h2>

const unsbuscribe = subscribe('The Dreadnoughts', (val) => console.log('The Dreadnoughts: ', val)) // returns unsubscribe method
const unsubscribe = subscribe('The Dreadnoughts', (val) => console.log('The Dreadnoughts: ', val)) // returns unsubscribe method
send('Dreadnoughts', 'Best band ever') // => The Dreadnoughts: Best band ever
unsubscribe() // => true
```

@@ -29,0 +38,0 @@

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