In the previous recipe, we published our sample npm package to Azure Artifacts. In this recipe, we will explore how we can consume the artifact that we published and make use of it. Since we have already enabled upstream sources for our repository, we can also fetch all the dependent packages from our feed.
Consuming NPM package from the Artifacts feed
Getting ready
This recipe is a continuation of the previous Publishing NPM package to Artifacts recipe. I recommend that you read it before continuing if you have not already done so.
To demonstrate the upstream npm package, I installed the colors package into our original module using the npm install colors --save command. This created an external dependency in our...