In the Angular Component Router documentation I just stumbled over a npm command I have never seen before and I don’t understand what is going on:

npm install @angular/router --save

What is the meaning of @angular/router?

Is the whole string a package name? But then I dont find that package when I use the search on npmjs.com.
And also the commandline search does return no such package:

npm search @angular/router
:No match found for "@angular/router"

So is the @angular/ some kind of prefix mechanism in npm? And how does it work?

3 s
3

Leave a Reply

Your email address will not be published. Required fields are marked *