Skip to content
drewnoakes edited this page Sep 11, 2014 · 1 revision

biggus-griddus is written in TypeScript, though you don't have to use TypeScript in order to use it.

TypeScript is a nice set of basic extensions to the JavaScript language that add some type safety and reduces boilerplate code. Files written in TypeScript are compiled to JavaScript via tsc.

Installation

Install via:

$ sudo npm install -g typescript

Compilation

Compile via:

$ tsc biggus.ts --sourcemap --module amd

This will produce an AMD (RequireJS) module. You may also specify --module commonjs for CommonJS modules, or drop the --module option altogether to generate plain JavaScript.

Clone this wiki locally