A module for shimmimg between execution modes: streams, promises, and callbacks