3 ms·
That seems overkill... to ask any js lib author who transforms a string to another string to use this API. The async version doesn't even use promises, so can'
by hashkb 9y ago
That seems overkill... to ask any js lib author who transforms a string to another string to use this API. The async version doesn't even use promises, so can't be `await`ed... why should anyone choose to do this?
Edit: Kay it returns promises, but still, overkill.
- gitgud 9y agoJust curious, what makes this so overkill? I'm not a lib author but it seems pretty lightweight to me.
- talonbragg 9y agoYeah idk it is two functions and only one of them has a promise.