function-promisify
Turns synchronous functions into promise-based
Features
- Allows to write promise-based code in syncronous manner
- Supports any function arity
Installation
npm install function-promisify
Usage
var promisify = ; var multiply = ; var log = ; // Here we can treat existing and future values in exactly the same manner;;;;