0.0.2 • Published 1 year ago

txa v0.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

txa

TypeScript for Automation, aka osascript -l TypeScript

TXA means "TypeScript for Automation" just like JXA: "JavaScript for Automation"

npm version npm downloads npm license

Install

$ pnpm add -g txa

Usage

txa <file>

bundle and execute a file, ES module can be used

use as Shebang

#!/usr/bin/env txa

txa build <file> <output>

bundle file to output, output can be a dir or a js file

Tips

types

# install
$ pnpm add -D @jxa/globle-type

then use reference so you get editor intellisense

/// <reference types='@jxa/global-type' />

eslint

/* eslint-env applescript */

Changelog

CHANGELOG.md

License

the MIT License http://magicdawn.mit-license.org

0.0.2

1 year ago

0.0.1

1 year ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

1.0.0-beta.1

3 years ago