New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@expo/osascript

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@expo/osascript

Tools for running an osascripts in Node

  • 0.0.1-canary-20240418-8d74597
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2M
decreased by-5.77%
Maintainers
27
Weekly downloads
 
Created

👋 Welcome to
@expo/osascript

Tools for running osascripts in Node.

Example

  ccheever@Charless-MacBook-Air:~/projects/osascript$nesh -y
  .Node v4.1.0
  Type .help for more information
  nesh*> .require .
  osascript = require("/Users/ccheever/projects/osascript")
  nesh*> yield osascript.execAsync('tell app "System Events" to count processes whose name is "Simulator"')
  '1\n'
  nesh*> yield osascript.spawnAsync('quit app "Safari"')
  0
  nesh*>

FAQs

Package last updated on 18 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts