Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jaid/emit-promise
Promisified socket.io acknowledgement callbacks.
https://github.com/jaid/emit-promise
emit emit-promise lib library node promise socket socket-io util utility websocket
Last synced: about 13 hours ago
JSON representation
Promisified socket.io acknowledgement callbacks.
- Host: GitHub
- URL: https://github.com/jaid/emit-promise
- Owner: Jaid
- License: mit
- Created: 2019-05-28T23:45:44.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T18:17:33.000Z (over 1 year ago)
- Last Synced: 2024-11-15T03:33:46.961Z (about 15 hours ago)
- Topics: emit, emit-promise, lib, library, node, promise, socket, socket-io, util, utility, websocket
- Language: JavaScript
- Homepage: https://github.com/Jaid/emit-promise
- Size: 2.16 MB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: readme.md
- Funding: .github/funding.yml
- License: license.txt
Awesome Lists containing this project
README
# emit-promise
**Promisified socket.io acknowledgement callbacks.**
## Installation
```bash
npm install --save emit-promise@^3.1.1
```
```bash
yarn add emit-promise@^3.1.1
```
```html```
## Development
Setting up:
```bash
git clone [email protected]:jaid/emit-promise.git
cd emit-promise
npm install
```
Testing:
```bash
npm run test:dev
```
Testing in production environment:
```bash
npm run test
```## License
```text
MIT LicenseCopyright © 2020, Jaid (github.com/jaid)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
```