UNPKG

strapi-ts

Version:

An open source headless CMS solution to create and manage your own API. It provides a powerful dashboard and features to make your life easier. Databases supported: MongoDB, MySQL, MariaDB, PostgreSQL, SQLite

16 lines (12 loc) 294 B
/** * The event hub is Strapi's event control center. */ 'use strict'; const EventEmitter = require('events'); class EventHub extends EventEmitter {} /** * Expose a factory function instead of the class */ module.exports = function createEventHub(opts) { return new EventHub(opts); };