{"id":16013659,"url":"https://github.com/magicdawn/txa","last_synced_at":"2026-01-04T15:37:11.551Z","repository":{"id":62917186,"uuid":"562723933","full_name":"magicdawn/txa","owner":"magicdawn","description":"TypeScript for Automation, aka osascript -l TypeScript","archived":false,"fork":false,"pushed_at":"2024-07-26T07:52:43.000Z","size":346,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-17T20:38:40.363Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/magicdawn.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-11-07T05:44:30.000Z","updated_at":"2025-03-11T16:13:54.000Z","dependencies_parsed_at":"2024-07-26T09:14:00.030Z","dependency_job_id":null,"html_url":"https://github.com/magicdawn/txa","commit_stats":{"total_commits":23,"total_committers":1,"mean_commits":23.0,"dds":0.0,"last_synced_commit":"8d8b0f19b9492ef98ea95b7fc9224181708b089c"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Ftxa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Ftxa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Ftxa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/magicdawn%2Ftxa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/magicdawn","download_url":"https://codeload.github.com/magicdawn/txa/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244880661,"owners_count":20525515,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-08T14:42:25.243Z","updated_at":"2026-01-04T15:37:11.504Z","avatar_url":"https://github.com/magicdawn.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# txa\n\n\u003e TypeScript for Automation, aka `osascript -l TypeScript` \u003cbr /\u003e\n\u003e\n\u003e TXA means \"TypeScript for Automation\" just like [JXA](https://github.com/JXA-Cookbook/JXA-Cookbook/wiki): \"JavaScript for Automation\"\n\n\u003c!-- [![Build Status](https://img.shields.io/github/checks-status/magicdawn/txa/master?style=flat-square)](https://github.com/magicdawn/txa/actions/workflows/ci.yml) --\u003e\n\u003c!-- [![Coverage Status](https://img.shields.io/codecov/c/github/magicdawn/txa.svg?style=flat-square)](https://codecov.io/gh/magicdawn/txa) --\u003e\n\n[![npm version](https://img.shields.io/npm/v/txa.svg?style=flat-square)](https://www.npmjs.com/package/txa)\n[![npm downloads](https://img.shields.io/npm/dm/txa.svg?style=flat-square)](https://www.npmjs.com/package/txa)\n[![npm license](https://img.shields.io/npm/l/txa.svg?style=flat-square)](http://magicdawn.mit-license.org)\n\n## Install\n\n```sh\n$ pnpm add -g txa\n```\n\n## Usage\n\n### `txa \u003cfile\u003e`\n\nbundle and execute a file, ES module can be used\n\nuse as Shebang\n\n```ts\n#!/usr/bin/env txa\n```\n\n### `txa build \u003cfile\u003e \u003coutput\u003e`\n\nbundle file to output, output can be a dir or a js file\n\n## Tips\n\n### types\n\n```sh\n# install\n$ pnpm add -D @jxa/globle-type\n```\n\nthen use `reference` so you get editor intellisense\n\n```ts\n/// \u003creference types='@jxa/global-type' /\u003e\n```\n\n### eslint\n\n```js\n/* eslint-env applescript */\n```\n\n## Changelog\n\n[CHANGELOG.md](CHANGELOG.md)\n\n## License\n\nthe MIT License http://magicdawn.mit-license.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Ftxa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmagicdawn%2Ftxa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmagicdawn%2Ftxa/lists"}