txa
v0.0.2
Published
TypeScript for Automation, aka osascript -l TypeScript
Maintainers
Readme
txa
TypeScript for Automation, aka
osascript -l TypeScriptTXA means "TypeScript for Automation" just like JXA: "JavaScript for Automation"
Install
$ pnpm add -g txaUsage
txa <file>
bundle and execute a file, ES module can be used
use as Shebang
#!/usr/bin/env txatxa build <file> <output>
bundle file to output, output can be a dir or a js file
Tips
types
# install
$ pnpm add -D @jxa/globle-typethen use reference so you get editor intellisense
/// <reference types='@jxa/global-type' />eslint
/* eslint-env applescript */Changelog
License
the MIT License http://magicdawn.mit-license.org
