Promise library that can be used standalone or integrated with extended