This package is for react-native-macOS apps. It lets you resize the app window to an arbitrary width & height.
Usage:
import WindowResizer from 'react-native-macos-resize-window'
WindowResizer.resize(800,600);
For a slightly better example check out wintershell