UNPKG

happn-primus

Version:

Primus is a simple abstraction around real-time frameworks. It allows you to easily switch between different frameworks without any code changes.

13 lines (10 loc) 280 B
'use strict'; // // Expose the module as new Transformer instance. // module.exports = require('../../transformer').extend({ // Creating a new real-time server. server: require('./server'), // The client-logic to connect with the server. client: require('./client') });