2 ms·
https://github.com/tinyplex/tinybase https://github.com/tinyplex/tinybase
by vorticalbox 5y ago
https://github.com/tinyplex/tinybase https://github.com/tinyplex/tinybase
- Kiro 5y agoYes, but what files specifically use the pattern described? I had a quick look through some files and didn't see anything like that.
- graderjs 5y agoCheck the cross cutting concerns, could be a good place to look to find code that tries to save on its re-use. I looked in ./src/common/ and found https://github.com/tinyplex/tinybase/blob/main/src/common/array.ts https://github.com/tinyplex/tinybase/blob/main/src/common/ar... which could be to some extent and example of what the OP is talking about.
- wccrawford 5y agoI think they were probably referring to https://github.com/tinyplex/tinybase/blob/main/src/common/array.ts https://github.com/tinyplex/tinybase/blob/main/src/common/ar... and the like for wrapper array.map and array.forEach and array.sort. I don't think there's dozens, but there's a fair few. Most of the stuff in the common directory seems to be standard patterns they use, so it's doing more than just wrapping a function.