This commit is contained in:
2025-06-26 03:35:15 +00:00
parent 56fa52fd80
commit 59f287112f
2193 changed files with 289518 additions and 3540 deletions

View File

@@ -0,0 +1,28 @@
# 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

View File

@@ -0,0 +1,9 @@
{
"all": true,
"check-coverage": false,
"reporter": ["text-summary", "text", "html", "json"],
"exclude": [
"coverage",
"test"
]
}