Need help with TypeScriptToLua?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

TypeScriptToLua
618 Stars 75 Forks MIT License 986 Commits 80 Opened issues

Description

Typescript to lua transpiler. https://typescripttolua.github.io/

Services available

!
?

Need anything else?

Contributors list

No Data

TypeScriptToLua

TypeScriptToLua

CI status Coverage Chat with us!
<a href="https://typescripttolua.github.io/" target="_blank">Documentation</a>
|
<a href="https://typescripttolua.github.io/play/" target="_blank">Try Online</a>
|
<a href="https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/CHANGELOG.md">Changelog</a>
|
<a href="https://github.com/TypeScriptToLua/TypeScriptToLua/blob/master/CONTRIBUTING.md">Contribution guidelines</a>

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 TypeScriptToLua add the

typescript-to-lua
npm package:
$ npm install -D typescript-to-lua

This package includes the

tstl
command line application, which can be used similarly to
tsc
:
$ npx tstl

For more information, check out Getting Started in our documentation.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.