event-constructors A map of DOM event names to their constructors Installation $ npm install @f/event-constructors Usage var events = require('@f/event-constructors') function createEvent (type, opts) { return new events[type](type, opts) } License MIT