GET https://registry.npmjs.org/-/npm/v1/user
npm profile get --json
{
"tfa": {
"pending": false,
"mode": "auth-only"
},
"name": "foo",
"email": "[email protected]",
"email_verified": true,
"created": "2015-02-26T01:40:54.959Z",
"updated": "2021-12-04T17:21:28.461Z",
"fullname": "foo",
"twitter": "foo",
"github": "foo"
}
GET https://registry.npmjs.org/-/v1/search?text=egg2&size=20&from=0&quality=0.65&popularity=0.98&maintenance=0.5
'npm-command': [ 'search' ],
authorization: [ 'Bearer npm_token' ]
npm search egg --json
[
{"name":"egg","scope":"unscoped","version":"2.33.1","description":"A web framework's framework for Node.js","keywords":["web","app","http","application","framework","middleware","koa","egg"],"date":"2021-12-06T16:26:46.792Z","links":{"npm":"https://www.npmjs.com/package/egg","homepage":"https://github.com/eggjs/egg","repository":"https://github.com/eggjs/egg","bugs":"https://github.com/eggjs/egg/issues"},"publisher":{"username":"fengmk2","email":"[email protected]"},"maintainers":[{"username":"eggjs-admin","email":"[email protected]"},{"username":"fengmk2","email":"[email protected]"},{"username":"atian25","email":"[email protected]"},{"username":"dead_horse","email":"[email protected]"},{"username":"popomore","email":"[email protected]"},{"username":"wanghx","email":"[email protected]"},{"username":"hyj1991","email":"[email protected]"},{"username":"thonatos","email":"[email protected]"},{"username":"killagu","email":"[email protected]"},{"username":"coolme200","email":"[email protected]"},{"username":"xadillax","email":"[email protected]"},{"username":"ngot","email":"[email protected]"},{"username":"mansonchor.zzw","email":"[email protected]"},{"username":"hubcarl","email":"[email protected]"},{"username":"shaoshuai0102","email":"[email protected]"}]}
,
{"name":"egg-mock","scope":"unscoped","version":"4.2.0","description":"mock server for egg","keywords":["egg","mock"],"date":"2021-12-17T10:44:58.662Z","links":{"npm":"https://www.npmjs.com/package/egg-mock","homepage":"https://github.com/eggjs/egg-mock","repository":"https://github.com/eggjs/egg-mock","bugs":"https://github.com/eggjs/egg/issues"},"author":{"name":"popomore","email":"[email protected]","username":"popomore"},"publisher":{"username":"fengmk2","email":"[email protected]"},"maintainers":[{"username":"eggjs-admin","email":"[email protected]"},{"username":"fengmk2","email":"[email protected]"},{"username":"atian25","email":"[email protected]"},{"username":"dead_horse","email":"[email protected]"},{"username":"popomore","email":"[email protected]"},{"username":"wanghx","email":"[email protected]"},{"username":"hyj1991","email":"[email protected]"},{"username":"thonatos","email":"[email protected]"},{"username":"killagu","email":"[email protected]"},{"username":"coolme200","email":"[email protected]"},{"username":"xadillax","email":"[email protected]"},{"username":"ngot","email":"[email protected]"},{"username":"mansonchor.zzw","email":"[email protected]"},{"username":"hubcarl","email":"[email protected]"},{"username":"shaoshuai0102","email":"[email protected]"}]}