Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/martinandert/pubs
Publish and subscribe.
https://github.com/martinandert/pubs
browser nodejs publish-subscribe pubsub
Last synced: 1 day ago
JSON representation
Publish and subscribe.
- Host: GitHub
- URL: https://github.com/martinandert/pubs
- Owner: martinandert
- License: mit
- Created: 2019-12-07T01:07:19.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-05T02:34:47.000Z (about 2 years ago)
- Last Synced: 2025-01-28T18:38:17.593Z (14 days ago)
- Topics: browser, nodejs, publish-subscribe, pubsub
- Language: JavaScript
- Size: 1.66 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 36
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# pubs
[![Travis build status](https://img.shields.io/travis/martinandert/pubs/master.svg)](https://travis-ci.org/martinandert/pubs)
[![no dependencies](https://img.shields.io/badge/dependencies-none-brightgreen.svg)](https://npmjs.com/package/pubs)
[![license](https://img.shields.io/github/license/martinandert/pubs.svg)](https://github.com/martinandert/pubs/blob/master/LICENSE.txt)
![TypeScript typings](https://img.shields.io/badge/types-TypeScript-blue.svg)TODO: add intro
## Installation
Install via npm:
```bash
% npm install pubs
```Or via yarn:
```bash
% yarn add pubs
```The UMD build is also available on [unpkg](https://unpkg.com/), adding a `pubs` object to the global scope.
```html
```
## Usage
TODO: add usage docs and API reference
## Contributing
Here's a quick guide:
1. Fork the repo and `yarn install`.
2. Run the tests. We only take pull requests with passing tests, and it's great to know that you have a clean slate: `yarn test`.
3. Add a test for your change. Only refactoring and documentation changes require no new tests. If you are adding functionality or are fixing a bug, we need a test!
4. Make the test pass.
5. Push to your fork and submit a pull request.## Licence
Released under The MIT License.