January 2018
Beginner
658 pages
13h 10m
English
Now that we have a clean slate, we can get started by installing the new library. Before we run the npm install command, we'll see where we can find the documentation. We can get it by visiting: https://www.npmjs.com/package/axios. As shown in the following screenshot, we have the axios npm library page, where we can view all sorts of information about it, including the documentation:

Here we can see some things that look familiar. We have calls to then and catch, just like we do when we use promises outside of axios:

Read now
Unlock full access