TypeScript Koans

The Koans walk you along the path to enlightenment in order to learn TypeScript. The goal is to learn the TypeScript language, syntax, structure, and some common functions and libraries of modern JavaScript. (Description taken from Ruby Koans)


This is a Node.js project. Have npm in your path, verify using npm --version. Download all required node modules with npm install.


  • Run script run_tests.bat for some or run_all_tests.bat. This runs the koans in order.
  • You should see compile errors and/or test failures.
  • Open the failing test, make all tests pass but leave the assert lines unchanged!
  • You can run individual koans using mocha.bat, e.g.mocha katas/es6/language/template-strings/basics.ts

Source of these katas

This is a port of ES6 Katas to TypeScript, version September 17, 2018. Find the original JavaScript katas in the TDDbin repository.


MIT License, see license.txt in repository.