Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

applescript-result

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

applescript-result

Convert an AppleScript result to its equivalent JavaScript representation

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
Maintainers
1
Weekly downloads
 
Created
Source

applescript-result Build Status

Convert an AppleScript result to its equivalent JavaScript representation

Installation

$ npm install applescript-result

Usage

const applescriptResult = require('applescript-result')

applescriptResult('{1, 2, 3}')
// => [ 1, 2, 3 ]

applescriptResult('{product:"pen", price:2.34}')
// => { product: 'pen', price: 2.34 }

Supported data types

  • applescript: Run AppleScript and get the result as a native JavaScript data type
  • run-applescript: Run AppleScript and get the result as a string
  • node-osascript: Run AppleScript and process the result using PEG.js
  • run-jxa: Run JXA (JavaScript for Automation) code and get the result

Keywords

FAQs

Package last updated on 13 Jun 2018

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc