O'Reilly logo

Learning TypeScript by Remo H. Jansen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Package management tools

Package management tools are used for dependency management, so that we no longer have to manually download and manage our application's dependencies. We will learn how to work with three different package management tools: Bower, npm, and tsd.

npm

The npm package manager was originally developed as the default Node.js package management tool, but today it is used by many tools. Npm uses a configuration file, called package.json, to store references to all the dependencies in our application. It is important to remember that we will normally use npm to install dependencies that we will use on the server side, in a desktop application, or with development tools.

Before we install any packages, we should add a package.json ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required