node-ipc/node-ipc.js
2021-07-02 14:35:02 -07:00

24 lines
433 B
JavaScript

import IPC from './services/IPC.js';
class IPCModule extends IPC{
constructor(){
super();
//include IPC to make extensible
Object.defineProperty(
this,
'IPC',
{
enumerable:true,
writable:false,
value:IPC
}
)
}
}
const singleton=new IPCModule;
export {
singleton as default,
IPCModule
}