irish-pub-sub
Advanced tools
Comparing version 1.1.0 to 1.1.1
{ | ||
"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 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4428
41