forked from godaddy/abstract-npm-registry
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathaccess.js
More file actions
23 lines (20 loc) · 644 Bytes
/
access.js
File metadata and controls
23 lines (20 loc) · 644 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
'use strict';
const nit = require('./lib/nit')('/-/package/:scope/:pkg/access');
/**
* Test coverage for access control to public packages
* See: "npm help access"
*/
module.exports.public = nit.skip('GET :api', function (opts) {
return function () {
throw new Error('Not implemented.');
};
});
//
// TODO: Write stubs for these methods
// npm access restricted [<package>]
// npm access grant <read-only|read-write> <scope:team> [<package>]
// npm access revoke <scope:team> [<package>]
// npm access ls-packages [<user>|<scope>|<scope:team>]
// npm access ls-collaborators [<package> [<user>]]
// npm access edit [<package>]
//