Imselect
Select a specified input method, works for MacOS only.
It's a native module, so make suce rebuild it after upgrade node.
Usage
var imselect = require('imselect')
imselect.selectMethod('com.apple.keylayout.US')
API
.selectMethod([InputMethodId])
-
InputMethodId
defaults tocom.apple.keylayout.US