D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
lib
/
node_modules
/
gulp
/
node_modules
/
bare-events
/
Filename :
README.md
back
Copy
# 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