v1.3.0
Added the ability to check and query for authorization to Screen Capture:
const { askForScreenCaptureAccess, getAuthStatus } = require('node-mac-permissions')
const status = getAuthStatus('screen')
if (status !== 'authorized') {
askForScreenCaptureAccess()
}