mta-typescript-sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.9 • Public • Published
mta-typescript-sdk

TypeScript.lua

Chat with us!

Documentation

A generic TypeScript to Lua transpiler. Write your code in TypeScript and publish Lua!

Large projects written in Lua can become hard to maintain and make it easy to make mistakes. Writing code in TypeScript instead improves maintainability, readability and robustness, with the added bonus of good tooling support (including ESLint, Prettier, Visual Studio Code and WebStorm). This project is useful in any environment where Lua code is accepted, with the powerful option of simply declaring any existing API using TypeScript declaration files.

Getting Started

To install mta-typescript-sdk add the mta-typescript-sdk npm package:

$ npm install -D mta-typescript-sdk

This package includes the tstl command line application, which can be used similarly to tsc:

$ npx tstl

For more information, check out Wiki in our documentation.

/mta-typescript-sdk/

    Package Sidebar

    Install

    npm i mta-typescript-sdk

    Weekly Downloads

    1

    Version

    0.1.9

    License

    MIT

    Unpacked Size

    655 kB

    Total Files

    272

    Last publish

    Collaborators

    • cleopatradev