npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

Maintainer vs. collaborator vs. owner

What I Wanted to Do

I’m a maintainer of twitter-lite and have published a new version a few days ago.

What Happened Instead

However, I don’t appear under collaborators. Is there a difference between the two terms? I haven’t found any of them in the docs.

Reproduction Steps

$ npm owner ls twitter-lite
peterpme <>
$ npm owner add dandv twitter-lite
+ dandv (twitter-lite)
$ npm owner ls twitter-lite
peterpme <>
$ sleep 600 && npm owner ls twitter-lite
peterpme <>

Details says there is only one access level. In that case, are maintainers collaborators and owners?

Also, web searching for adding a collaborator on npm produce this unanswered SO question:

Platform Info

$ npm --versions
{ foo: '1.8.3',
  npm: '6.5.0-next.0',
  ares: '1.15.0',
  cldr: '34.0',
  http_parser: '2.8.0',
  icu: '63.1',
  llhttp: '1.0.1',
  modules: '67',
  napi: '3',
  nghttp2: '1.34.0',
  node: '11.6.0',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.24.1',
  v8: '',
  zlib: '1.2.11' }

$ node -p process.platform

Not an answer, just some digging. I see react-singular-component now lists Dor6 on npmjs and have asked on SO if they worked it out. I did find a related difference between your project and theirs.

$ npm access ls-collaborators twitter-lite
  "dandv": "read-write",
  "peterpme": "read-write"
$ npm access ls-collaborators react-singular-component
  "bogin7": "read-write",
  "dor6": "read-write"

$ npm owner ls twitter-lite
peterpme <peterpiekarczyk@REDACTED>
$ npm owner ls react-singular-component
bogin7 <bogin7@REDACTED>
dor6 <dorgross09@REDACTED>

Wondering the same thing. I can publish the dmn module but don’t show up as a Collaborator on the npm web page for dmn but do show up with npm access ls-collaborators dmn. I guess this isn’t adding much information other than pinging a bit after a month of quiet on the topic…

Do we have a case of the #bugs here then?