spec dir from npm package to fix flow errors in dependent modulespromisifyAll behavior to add ${methodName}Async to given objects instead of replacing themtrue if throwError is false and undefined is returnedfalse if throwError is false and Error is thrownpromisifyAll methodthrowError parameter