PATH:
opt
/
alt
/
alt-nodejs9
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules.bundled
/
npm-registry-client
/
lib
module.exports = stars var assert = require('assert') var url = require('url') function stars (uri, params, cb) { assert(typeof uri === 'string', 'must pass registry URI to stars') assert(params && typeof params === 'object', 'must pass params to stars') assert(typeof cb === 'function', 'must pass callback to stars') var auth = params.auth var name = params.username || (auth && auth.username) if (!name) return cb(new Error('must pass either username or auth to stars')) var encoded = encodeURIComponent(name) var path = '-/_view/starredByUser?key="' + encoded + '"' this.request(url.resolve(uri, path), { auth: auth }, cb) }
[-] org.js
[edit]
[-] get.js
[edit]
[-] whoami.js
[edit]
[-] unpublish.js
[edit]
[-] star.js
[edit]
[-] team.js
[edit]
[-] request.js
[edit]
[-] deprecate.js
[edit]
[-] fetch.js
[edit]
[-] ping.js
[edit]
[-] publish.js
[edit]
[+]
..
[-] initialize.js
[edit]
[-] tag.js
[edit]
[-] send-anonymous-CLI-metrics.js
[edit]
[-] stars.js
[edit]
[-] authify.js
[edit]
[-] attempt.js
[edit]
[-] access.js
[edit]
[+]
dist-tags
[-] adduser.js
[edit]
[-] logout.js
[edit]