Re:A one-line package broke `npm create-react-app`
by ehsankia on Saturday April 25, 2020 @01:59PM
(#22979882)
shouldn't it then be called is-promise-like? Also, if you're being loose about it anyways, can't you simply just go for `if (obj && typeof obj.then == 'function')` and call it a day? I'd say that's short enough to include your own version and not rely on a package for.
I think that module over complicates it as it is, and most people don't need that level of complication in their code.
I think that module over complicates it as it is, and most people don't need that level of complication in their code.