Dan Levy
Dan Levy
@spion that is really close, but if I wanted to write my function chains that way I'd use https://github.com/sindresorhus/ (still awesome) 1000 mini promise libs. 😉
Here's the ES6 I'm working off, hopefully easier to read/review: ```js module.exports = function _conditionals(Promise) { Promise.prototype.thenIf = thenIf Promise.thenIf = _thenIf function thenIf(cond = (x) => x, ifTrue =...
Thanks @spion - agreed, bind::can't come soon enough. I understand the criticism of bluebird is often about bloat. To me, this is because **Bluebird was used primarily as a browser...
I keep finding examples where `.tapIf()`/`.thenIf()` would clean up code very nicely IMHO (by eliminating extra wrapping clousures/arrow funcs.) ```js const ensureDirectory = (file) => Promise .resolve(path.join(__dirname, '..', file.category)) .tapIf(fs.existsAsync,...
@spion Regardless of the feature relevance, I'd really appreciate some help figuring out the error in tests, `late_buffer_safety.js` `throw`'s integers, I thought that wasn't supported? 😕 And how on earth...
Hey @jdscolam interesting comments on string performance. I built a basic benchmarking suite to test jsondiffpatch against 2 other libs. This lib does **really** well (and has more features). https://github.com/justsml/json-diff-performance...
Hey @benjamine @jdscolam I just wanted to post an update over here. I upgraded my benchmark lib: https://github.com/justsml/json-diff-performance Check the README, I added some screenshots of the new results. I'll...
Can you add me back to the website team?
@ovflowd you are correct, that's my last merge there. However I have been on some of the zoom calls over the last year or 2, and recently I've been finding...
So sad... such good tech. 😿