Sync-Module
Synchronously execute a module function
Installation
npm install --save sync-module
Usage
Synchronous Module:
var Promise = ; // The module should always have a function to execute// And it should return a promisemodule { return { ; };};
Calling code:
var syncModule = ; var result = ; // Result: 2+7+5=14
License
MIT