Files
med-notes/.pnpm-store/v10/files/da/aae1a1c3bf70752f7bc371c9363d06b5fe7e8b7b09182e5648f4ef39176c970d501a744d2503da27579702d5415d89bff01c8afec860c413030aa7161b6a5f
2025-06-26 03:35:15 +00:00

29 lines
315 B
Plaintext

# mutter
Mutter is a super-simple event emitter.
## Installation
$ npm install mutter --save
## Example
```js
var evt = require('mutter');
function foo(val) {
// ...
}
evt.on('foo', foo);
evt.one('foo', 'bar'); // emit one
evt.emit('foo', 'baz'); // emit all
evt.off('foo', foo)
```
## License
MIT