MCPcopy Create free account
hub / github.com/nodejs/node / #listCollaborators

Method #listCollaborators

deps/npm/lib/commands/access.js:138–142  ·  view source on GitHub ↗
(pkg, user)

Source from the content-addressed store, hash-verified

136 }
137
138 async #listCollaborators (pkg, user) {
139 const pkgName = await this.#getPackage(pkg, false)
140 const collabs = await libnpmaccess.getCollaborators(pkgName, this.npm.flatOptions)
141 this.#output(collabs, user)
142 }
143
144 async #getStatus (pkg) {
145 const pkgName = await this.#getPackage(pkg, false)

Callers 1

execMethod · 0.95

Calls 2

#getPackageMethod · 0.95
#outputMethod · 0.95

Tested by

no test coverage detected