Long-time user of BetterTouchTool here, which implements this feature as well. If you just want the snap functionality they also offer this as a cheaper ($2.99), stand-alone version with BetterSnapTool[0].
I’m a pretty big fan of penc. It’s has snap like functionality placed on gestures on the trackpad and is free https://deniz.co/penc/
Unfortunately, the app seems to work nowhere near as well as the Windows feature. Might be because of my multi-monitor setup, but it seems to do something different everytime I hit an edge, and trying to hit an edge between two displays is difficult.