JavaScript for Automation (JXA) Scripting For Deno

JavaScript for Automation (JXA) Scripting For Deno

Deno modules for running JavaScript for Automation (JXA), mostly ported from Node packages by JXA-userland/JXA.


Deno modules for running JavaScript for Automation (JXA), mostly ported from Node packages by JXA-userland/JXA.

Run JXA in Deno

// script.js
import { run } from ""

const result = await run((name, emoji) =>
  `Hello ${name} ${emoji}!`, "Deno", "🦕");
$ deno run --allow-run script.js
Hello Deno 🦕!

See run/ for detailed documentation.

TypeScript Support

// script.ts
import { run } from "";
import type {} from "";
// Generated with @jxa/sdef-to-dts
import type { GoogleChrome } from "";

const result = await run(
  () => {
    const chrome = Application<GoogleChrome>("Google Chrome");
    const windows: GoogleChrome.Window[] =;
    const activeTab: GoogleChrome.Tab = windows[0].activeTab();
    return activeTab.title();

deno run --allow-run script.ts will output the title of your active tab in Chrome.

See run/types/ for more information about TypeScript support.

Download Details:

Author: pnlng

Source Code:

deno nodejs javascript

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

Top 5 Reasons Javascript Developers Prefer Deno over Nodejs

The maker of NodeJS, Ryan Dahl, has released a new runtime that aims to solve many of the shortcomings of Node. Your initial reaction might be “Oh great, another Javascript framework? Just what I needed…”. Don’t worry, I had the same reaction. After understanding the advantages, I too saw why Deno is exactly what a back-end Javascript developer needs in 2020. Let’s take a look at the top 5 reasons javascript developers are having a much smoother and more modern experience using Deno vs. Node.

Deno - How to Compile & Run Javascript Code in Deno Runtime

Learn How to Compile & Run Javascript Code in Deno Runtime.

What is Deno? Deno vs. NodeJS

What is Deno? Deno vs Node. Deno is the upgraded version of NodeJS. Explore features of Deno. Will it take over Node.js or not? Deno is based on Google's Chromium V8 JavaScript engine and written in programming language Rust as opposed to C++ for Node

Deno ¿el verdadero Nodejs?

Deno ¿el verdadero Nodejs? - El 13 de mayo de 2020 se liberó la versión 1.0 de Deno, un nuevo entorno de ejecución para correr javascript y typescript, basado en el motor V8 de Google y ...

Decoding Nodejs

The main goal of this blog is to explain the “Architecture of Nodejs” and to know how the Nodejs works behind the scenes. Generally, most of the server-side languages, like PHP, ASP.NET, Ruby, and including Nodejs follows multi-threaded architecture. That means for each client-side request initiates a new thread or even a new process.