Typings
code for article pfeilbr/typings-playground
typings-playground
learn and experiment with TypeScript typings
# install typescript
$ npm install typescript --global
# install typings
$ npm install typings --global
# install node typings
$ typings install node --ambient --save
# compile index.ts to index.js
$ tsc
# run
$ node index.js
see contents of tsconfig.json, which tells tsc how to compile