TypeScript for Automation, aka osascript -l TypeScript
npm install txa> TypeScript for Automation, aka osascript -l TypeScript
>
> TXA means "TypeScript for Automation" just like JXA: "JavaScript for Automation"



``sh`
$ pnpm add -g txa
bundle and execute a file, ES module can be used
use as Shebang
`ts`
#!/usr/bin/env txa
bundle file to output, output can be a dir or a js file
`sh`install
$ pnpm add -D @jxa/globle-type
then use reference so you get editor intellisense
`ts`
///
`js``
/ eslint-env applescript /
the MIT License http://magicdawn.mit-license.org