jxapp Quickly access JavaScript for Automation's application object. var app = require('jxapp') alert, confirm, and prompt shims for JXA var { alert, confirm, prompt } = require('jxapp/shims') npm install jxapp To use this module in JavaScript for Automation environment, please see this recipe on JavaScript for Automation Cookbook