How can I configure macOS to mimic the double press spacebar function from iOS?

Using iOS I have grown to love double-pressing the spacebar to enter a full stop / period, especially when using a keyboard with my iPad.

When I enter " " + " " I would like the system to output ". "

Is there any way I can enable this same option in OS X / macOS?


System Preferences > Keyboard > Text

Add full stop with double-space

or

Add period with double-space

mac os keyboard double space to period

I not sure when this was introduced but it is available in macOS Mojave 10.14.