Typings for npm packages
https://github.com/Microsoft/TypeScript.wiki.git
TypeScript 1.6 has introduced new way of resolving module names that mimics the Node.js module resolution algorithm. This means the TypeScript compiler can currently load typings that are bundled with npm packages.
The compiler will try to discover typings for module "foo" using the following set of rules: