Skip to Content
Learning TypeScript 2.x - Second Edition
book

Learning TypeScript 2.x - Second Edition

by Remo H. Jansen
April 2018
Beginner content levelBeginner
536 pages
13h 21m
English
Packt Publishing
Content preview from Learning TypeScript 2.x - Second Edition

The npm ecosystem

We have used npm previously in this book, and by now we should know how to use it well. The npm ecosystem is composed of thousands of external modules. We can use the official npm website at https://www.npmjs.com/ to search for a package that might help us to complete a given task. Unlike the modules that are part of the core Node.js API, external npm modules need to be installed using npm:

npm install react 

If the module is not recognized by TypeScript, we will also need to install its type definitions (if available):

npm install @types/react 
Please refer to Chapter 13, Application Performance, and Chapter 9, Automating Your Development Workflow, to learn more about other tools in the Node.js ecosystem, for example, the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering TypeScript - Fourth Edition

Mastering TypeScript - Fourth Edition

Nathan Rozentals
Learning TypeScript

Learning TypeScript

Josh Goldberg
TypeScript for Beginners

TypeScript for Beginners

Bharath Thippireddy

Publisher Resources

ISBN: 9781788391474Supplemental Content