Initial import with skill sheet working
This commit is contained in:
25
node_modules/bare-events/README.md
generated
vendored
Normal file
25
node_modules/bare-events/README.md
generated
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
# bare-events
|
||||
|
||||
Event emitters for JavaScript.
|
||||
|
||||
```
|
||||
npm install bare-events
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
``` js
|
||||
const EventEmitter = require('bare-events')
|
||||
|
||||
const e = new EventEmitter()
|
||||
|
||||
e.on('hello', function (data) {
|
||||
console.log(data)
|
||||
})
|
||||
|
||||
e.emit('hello', 'world')
|
||||
```
|
||||
|
||||
## License
|
||||
|
||||
Apache-2.0
|
||||
Reference in New Issue
Block a user