Advanced memoization library for Node with promise and stream support