A command line utility to transform CoffeeScript files to TypeScript
[NOT ACTIVELY MAINTAINED] This project is not actively maintained. Feel free to use it if it works for you and submit PRs but it's unlikely that I will personally be making any active changes.
node >= v4.0.0
npm install -g nikaspran/coffee-to-ts#master
coffee-to-ts <glob>
- Convert all CoffeeScript files in the current directory
> coffee-to-ts "*.coffee"
Converted productPreviewDirective.coffee => productPreviewDirective.ts
- Use a different version of Node via
nvm
and convert all subdirectories of the current directory
> nvm exec stable coffee-to-ts "**/*.coffee"
Converted productPreviewDirective.coffee => productPreviewDirective.ts
Converted productDirective.coffee => productDirective.ts