Recently I've seen many require('@XXX'), like
const PubSub = require(`@google-cloud/pubsub`);
what is this @ meaning? where can I find the syntax?
Recently I've seen many require('@XXX'), like
const PubSub = require(`@google-cloud/pubsub`);
what is this @ meaning? where can I find the syntax?
NPM allows users to organize packages into organization scopes.
The @google-cloud part is the scope and pubsub is the package name.
Organizing Packages docs explain it much better.
it is used for maintaining package belong to a specific organization, which help them to Organizing People and Package Access and provide team permission (read/write) to package