This repository contains a collection of TypeScript first libraries for DCS World.
This collection of packages uses Typescript to author the code and TypeScriptToLua to transpile TypeScript code into Lua.
The shared code libraries are published to NPM where they can be installed separately for authoring further projects using the same technique.
Some useful Docs include:
Detailed usage instructions will be added soon.
See the UPDATING.md file for instructions on updating the definitions.
Using typescript over lua offers some great benefits:
You can also leverage the amazing power of dependencies with NPM as a package manager.
https://typescripttolua.github.io/docs/external-code
You are not writing JavaScript you can work like you’re inside the JS ecosystem. Don’t expect NPM libraries to just work. Remember you’re transpiling your TS to Lua. It’s not running on NodeJS. That said if you can find NPM modules that you can lift TS source code from you should be ok and just paste them in a lib folder as long as they don’t use NodeJS or Browser APIs.
Take note of this list: https://github.com/TypeScriptToLua/TypeScriptToLua/issues?q=is%3Aissue+is%3Aopen+sort%3Aupdated-desc+label%3A%22missing+feature%22
Contributions to this project are welcome. If you find an issue or have suggestions for improvements, please open an issue or submit a pull request.
There are various ways to datamine dcs and of course the docs are a great source of information.
This project has relied heavily on DCSFiddle and the explore window which can help with exploring tables.
This project is licensed under the MIT License.
For any inquiries or contributions, please open an issue on this repository.
Generated using TypeDoc