Why do some npm packages start with @?

@ refer to npm scoped packages:

When used in package names, scopes are preceded by an @ symbol and followed by a slash

Scopes are a way of grouping related packages together.

For instance, your package.json contains some @angular/ prefixed dependencies (@angular/animations, @angular/compiler-cli, etc) which means that they are under angular scope. The code of all those dependencies is under @angular directory.


If a package's name begins with @, then it is a scoped package. The scope is everything in between the @ and the slash

@scope/project-name

How to Initialize a Scoped Package

To create a scoped package, you simply use a package name that starts with your scope.

{
  "name": "@username/project-name"
}

More details, Please visit scoped package

and

What does "@" symbol mean in "import { Component } from '@angular/core';" statement?


packages with @ denotes the organisation. In this case the organisation is Fortawesome. It contains multiple packages (you can see it inside @fortawesome folder).

As described on npm page

Creating an Organization on npm gives you an Organization scope under which you can have your own namespace for packages.

Scopes are great for many reasons, for example:

  • Maintain a fork of a package, e.g. @the-best/request.
  • Avoiding name disputes with popular names, e.g. @the-best/cat.
  • Improving internal discovery of Organization-supported packages (they're all in a single namespace!)

Hope that helps.