Skip to content

nikaspran/coffee-to-ts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffee-to-ts

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.

Prerequisites

  1. node >= v4.0.0

Usage

  1. npm install -g nikaspran/coffee-to-ts#master
  2. coffee-to-ts <glob>

Examples:

  1. Convert all CoffeeScript files in the current directory
> coffee-to-ts "*.coffee"
Converted productPreviewDirective.coffee => productPreviewDirective.ts
  1. 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

About

[NOT ACTIVELY MAINTAINED] Convert CoffeeScript to TypeScript

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published