8

In my `package.json' file, it seems that all the Angular depedencies are prefixed by @. What does this mean? E.g.

"dependencies": {
    "@angular/common": "2.0.0-rc.5",

Why not just as below, with no @?

"dependencies": {
    "angular/common": "2.0.0-rc.5",
ProfK
  • 49,207
  • 121
  • 399
  • 775
  • Possible duplicate of [Use of @ symbol in Node module names](https://stackoverflow.com/questions/36293481/use-of-symbol-in-node-module-names) – Quentin May 16 '19 at 11:46

1 Answers1

7

npm has two types of modules:

  • Global modules - npm install mypackage
  • Scoped modules - npm install @myorg/mypackage

Scopes are a way of grouping related packages together, and also affect a few things about the way npm treats the package.

ScottL
  • 1,755
  • 10
  • 7