Skip to content

reco/coffee-to-ts

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

coffee-to-ts

A command line utility to transform CoffeeScript files to TypeScript

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

Convert CoffeeScript to TypeScript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%