nx-event-bus
v1.0.0
Published
Simple JavaScript Event Bus Implementation
Downloads
5
Maintainers
Readme
NX Event Bus
A simple implementation of an event bus for JavaScript. It's main features is taking care of 'dead events'.
A 'dead event' is when there aren't any listener for the broadcasted event. If such event occurs the event will be saved until a listener will get created and it will be rebroadcasted;
:memo: Documentation
NX Event Bus Documentation – Github version
Web Formatted Version – The same as above but web-formatted.
:cloud: Installation
$ npm i nx-event-bux --save
:wrench: Development
- Clone the repository.
- Run
npm i
in the project root - Start coding
:recycle: Contributing
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
:scroll: License
Copyright 2018 Alexandru L. Pinca
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.