npm module: AOP with Promises