ts-jxa
Write JXA using typescript 馃殌!
Last updated 9 months ago by markeyyuan .
ISCRepositoryBugsOriginal npmTarballpackage.json
$ cnpm install ts-jxa 
SYNC missed versions from official npm registry.

ts-jxa

English | 涓枃

Write JXA using typescript ????!

Freely use ES features which typescript supports and provide nice basic development experience.

Thanks to JXA-Cookbook.

What is JXA?

It's OS X automation, using Javascript.

Since OS X 10.10 (Yosemite), Javascript (called Javascript for Automation, or JXA) is also supported for app automation. This is great news, especially for Javascript developers who want to automate workflows on their Mac.

But by default, JXA only provides some primitive functionalities for development. For example, if you what to modularizing your code, the only way is Using Script Library which is apple officially recommended but it's cumbersome. And, you can't use any of your favorite node modules like lodash.

So, ts-jxa was born, aiming to make building JXA application more efficient and elegant.

What is ts-jxa?

ts-jxa is a development tool for building JXA program.

It let you use a lot of typescript features like arrow function/const && let/promise and most importantly, static type check.

And it gives you a nice development experience by auto rebuild, elegant output, and compression for production.

Installation

yarn add ts-jxa or npm i ts-jxa

If you want to install it globally, you can add global flag as follows:

yarn global add ts-jxa or npm i -g ts-jxa

Other JXA resources

Current Tags

  • 0.1.4                                ...           latest (9 months ago)

5 Versions

  • 0.1.4                                ...           9 months ago
  • 0.1.3                                ...           9 months ago
  • 0.1.2                                ...           9 months ago
  • 0.1.1                                ...           10 months ago
  • 0.1.0                                ...           10 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 漏 taobao.org |