Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Feb 27, 2024 via pnpm
Package summary
Share
0
issues
1
license
1
MIT
Package created
27 Nov 2017
Version published
6 Nov 2022
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
emittery@1.0.1
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of emittery 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does emittery do?

Emittery is a simple and modern async event emitter that is used in both Node.js and the browser using a bundler. Emitting events asynchronously is significant for production code to minimize the quantity of synchronous operations for optimal performance.

How do you use emittery?

Using Emittery is quite straightforward. First, you need to import the Emittery package and then utilize different methods on the new instance of Emittery according to your needs. For instance, you can create an event, subscribe to an event, unsubscribe from an event, emit an event, and so forth.

//installation
npm install emittery

// usage example
import Emittery from 'emittery';

const emitter = new Emittery();

emitter.on('πŸ¦„', data => {
	console.log(data);
});

emitter.emit('πŸ¦„', '🌈'); // this will trigger the 'console.log' in the 'on' listener above

For detailed usage and to understand all the available methods, you should refer to the API section on the GitHub page of the Emittery library.

Where are the emittery docs?

Emittery's documentation is available directly in its README.md on the GitHub repository. The readme contains detailed information about the library's installation, usage, API, as well as related queries and debugging instructions. If you're developing with TypeScript, there's also a section with information about working with TypeScript with Emittery.