What does arroba (@) mean in the name of a dependency on the package.json file?

Asked

Viewed 114 times

2

What is the meaning of the @ symbol before a dependency on the package.json file?

For example:

{
  "name": "star-admin-pro-react",
  "version": "1.1.0",
  "homepage": "https://bootstrapdash.com/demo/star-admin-free/react/template/demo_1/preview",
  "private": true,
  "dependencies": {
    "@fullcalendar/core": "^4.3.1", //<-----
    "@fullcalendar/daygrid": "^4.3.0", //<-----
    "@fullcalendar/interaction": "^4.3.0",
    "@mdi/font": "^4.2.95",
    "@tinymce/tinymce-react": "^3.3.2",
    "bootstrap": "^4.3.1",
    "react": "^16.9.0",
  }
}

1 answer

2


It means the package is inside a organization of npm. Most often the organization is public (as well as the respective packages).

Take, for example, the package @fullcalendar/interaction. Actually, the package name is only interaction, but belongs to the organization fullcalendar.

In this sense, the bar is used to "separate" the name of the organization (always preceded by @) of the package name.

It is basically a difference of presentation. Otherwise there is no difference and behaves the same way as any npm package.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.