Skip to content

Latest commit

 

History

History
24 lines (14 loc) · 751 Bytes

README.md

File metadata and controls

24 lines (14 loc) · 751 Bytes

#as3-to-typescript

A tool that helps porting as3 codebase to typescript

##Installation

Install this module with npm:

npm install -g as3-to-typescript

##Usage

as3-to-typescript <sourceDir> <outputDir>

##Note

This tool will not magicly transform your as3 codebase into perfect typescript, the goal is to transform the sources into syntacticly correct typescript, and even this goal is not perfectly respected. It also won't try to provide javascript implementation for flash libraries.

However unlike most attempts that I have seen this tool is based on a true actionscript parser, and so should be able to handle most of as3 constructs and greatly ease the pain of porting a large code base written in as3 to typescript.