New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

event-promisify

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

event-promisify - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

2

package.json
{
"name": "event-promisify",
"version": "0.1.1",
"version": "0.1.2",
"description": "Promisification for EventEmitters.",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -10,1 +10,17 @@ # event-promisify

Just run ```npm install event-promisify```
# documentation
This implementation supports basic promisification, event filtering, aggregation and custom specification
of error events.
## Examples
```javascript
const promisifyEvent = require('event-promisify')(YOUR_PROMISE_IMPLEMENTATION_HERE);
promisifyEvent(someEventEmitter, 'someEvent')
.then(...)
```
For now check test.js and the source for further information.
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