{"_id":"mozillians-client","_rev":"66-f3f9f29a5c5af378763004f02e8b2999","name":"mozillians-client","dist-tags":{"latest":"0.1.4"},"versions":{"0.1.0":{"name":"mozillians-client","version":"0.1.0","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"mozillians-client@0.1.0","maintainers":[{"name":"jonasfj","email":"jopsen@gmail.com"}],"homepage":"https://github.com/jonasfj/node-mozillians-client","bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"dist":{"shasum":"2e02ec6fdda60c52cac166ef3ea99aa3f845b4b4","tarball":"https://registry.npmjs.org/mozillians-client/-/mozillians-client-0.1.0.tgz","integrity":"sha512-hgGLQEluSP/lDhWV+BRt36BuyjxIwgS6oSn/gJVJZj81drWyOmgG69zvSPFwMo8BA/2favqKw+x8mjewywcSkQ==","signatures":[{"sig":"MEUCIFpIRbzZ6jHL5F6oarRy6ZaIjRBqLvpp4ORIiYoCAxUyAiEA+i30dvVg8Awyg/1whp2NVWi5/8kSK+wYsYXlu4fmRL4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/mozillians","_from":".","_shasum":"2e02ec6fdda60c52cac166ef3ea99aa3f845b4b4","gitHead":"8844bf3e0f7cb121fb00387de2505762e4c891f4","scripts":{"test":"mocha -u tdd .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"repository":{"url":"https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"_npmVersion":"2.11.3","description":"Client library for mozillians.org","directories":{},"_nodeVersion":"0.12.7","dependencies":{"lodash":"^3.10.1","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","babel-compile":"^0.0.3","source-map-support":"^0.3.2","taskcluster-lib-rules":"^1.0.3"}},"0.1.1":{"name":"mozillians-client","version":"0.1.1","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"mozillians-client@0.1.1","maintainers":[{"name":"jonasfj","email":"jopsen@gmail.com"}],"homepage":"https://github.com/jonasfj/node-mozillians-client","bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"dist":{"shasum":"3b80cb0c9bf31fd5b02a5be32400efef93ed6088","tarball":"https://registry.npmjs.org/mozillians-client/-/mozillians-client-0.1.1.tgz","integrity":"sha512-+p8wnPKcItA4W3xRTjN1BfH+AwdhoQJROLF+kGWcxQ8vSPepbcd2IsXgP8+K5Hbe+AGod9SEEM2LJH6KhC0s2Q==","signatures":[{"sig":"MEQCIDDUNOXo3VOJ19MOgo1ahsA9tsFs2jVFesMwPqvi/8ndAiBJ6rLqSpfgxG928B7QVJdh+oSCwjEY3wdyfyY17yTL5Q==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/mozillians","_from":".","_shasum":"3b80cb0c9bf31fd5b02a5be32400efef93ed6088","gitHead":"a646ec2ce57578547f013c890238ec8a55a45d64","scripts":{"test":"mocha -u tdd .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"repository":{"url":"https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"_npmVersion":"2.11.3","description":"Client library for mozillians.org","directories":{},"_nodeVersion":"0.12.7","dependencies":{"lodash":"^3.10.1","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","babel-compile":"^0.0.3","source-map-support":"^0.3.2","taskcluster-lib-rules":"^1.0.3"}},"0.1.2":{"name":"mozillians-client","version":"0.1.2","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"mozillians-client@0.1.2","maintainers":[{"name":"bstack","email":"bstack@mozilla.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"selenamarie","email":"selenamarie@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"walac","email":"wander.lairson@gmail.com"}],"homepage":"https://github.com/jonasfj/node-mozillians-client#readme","bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"dist":{"shasum":"2063dd477ca899aaaba3e3d4466576252163ad12","tarball":"https://registry.npmjs.org/mozillians-client/-/mozillians-client-0.1.2.tgz","integrity":"sha512-UgvGzZgsss8hbZ/eWICBtASZdNTLvXfrcKY+t01ppIsjMYMeEeUjgUU+g9mPPQuYy+xJZLkl6QEskvgH7JKAOg==","signatures":[{"sig":"MEYCIQDHcptbM8QtDb20QPCfSA4KLV8b1zX2PmwFuODx2GeK1QIhAKFskEooQAoXcESzzPEL7S/NSrbxDjQJTweRZXE8Rt7f","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/mozillians","_from":".","_shasum":"2063dd477ca899aaaba3e3d4466576252163ad12","gitHead":"9f9138a13ff683d803380ccec61b108514c894ac","scripts":{"test":"mocha -u tdd .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"repository":{"url":"git+https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"_npmVersion":"4.1.2","description":"Client library for mozillians.org","directories":{},"_nodeVersion":"7.6.0","dependencies":{"lodash":"^3.10.1","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"^2.3.3","babel-compile":"^0.0.3","source-map-support":"^0.3.2","taskcluster-lib-rules":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mozillians-client-0.1.2.tgz_1489272268735_0.3252498779911548","host":"packages-18-east.internal.npmjs.com"}},"0.1.3":{"name":"mozillians-client","version":"0.1.3","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"mozillians-client@0.1.3","maintainers":[{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"helfi92","email":"helfi92@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"walac","email":"wander.lairson@gmail.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"bstack","email":"bstack@mozilla.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"selenamarie","email":"selenamarie@gmail.com"}],"homepage":"https://github.com/jonasfj/node-mozillians-client#readme","bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"dist":{"shasum":"4e34802745d0aca944fe54a1aba0894254914be1","tarball":"https://registry.npmjs.org/mozillians-client/-/mozillians-client-0.1.3.tgz","integrity":"sha512-dadCqMcOuPYcHhApWOM65x2un8TGfJ7qUcq4H/6IocNrob9E1tyOOTYQBvLd067ZXToMJsOjtxLZ5ctPkjWR2A==","signatures":[{"sig":"MEYCIQD8OqHd2r2X/VR9Pvx5MYBqRK2QzsgJZm5dR8qjd6MBogIhAPoBz2sjZ/Zxs7cyopFKHLSt2dc28Fn7pRrl6K6SjA/+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"./lib/mozillians","gitHead":"fe9fb8a20453ef33761f7c231ca7663ec0ec2e10","scripts":{"test":"mocha -u tdd .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"repository":{"url":"git+https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"_npmVersion":"5.3.0","description":"Client library for mozillians.org","directories":{},"_nodeVersion":"8.2.1","dependencies":{"lodash":"^3.10.1","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"4.0.1","babel-compile":"^0.0.3","source-map-support":"^0.3.2","taskcluster-lib-rules":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mozillians-client-0.1.3.tgz_1507674855409_0.5534296298865229","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"mozillians-client","version":"0.1.4","author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","_id":"mozillians-client@0.1.4","maintainers":[{"name":"jonasfj","email":"jopsen@gmail.com"},{"name":"helfi92","email":"helfi92@gmail.com"},{"name":"taskcluster-bot","email":"taskcluster-accounts@mozilla.com"},{"name":"eliperelman","email":"eli@eliperelman.com"},{"name":"walac","email":"wander.lairson@gmail.com"},{"name":"djmitche","email":"dustin@cs.uchicago.edu"},{"name":"bstack","email":"bstack@mozilla.com"},{"name":"pmoore","email":"pmoore@mozilla.com"},{"name":"gregarndt","email":"garndt@mozilla.com"},{"name":"jhford","email":"john@johnford.org"},{"name":"selenamarie","email":"selenamarie@gmail.com"}],"homepage":"https://github.com/jonasfj/node-mozillians-client#readme","bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"dist":{"shasum":"49570badb56f137664893039c9880c3f42507b5a","tarball":"https://registry.npmjs.org/mozillians-client/-/mozillians-client-0.1.4.tgz","integrity":"sha512-rj86JSvCJTN0ISOpdqDYMz9XtNgtK52e9FSUFmiHy2b7gCn9xaNEKpYeCkuRvr5v1edYKbH/D9nE+CrYppU8hQ==","signatures":[{"sig":"MEQCICKlh8XOg++i9EY9YyUYAF/Q1W8J4Z5a6TDjFdKIP3OTAiAXdyyoAWLXd2nhB2EBz1gDbKa2Tvw2W+aS2/ffWUB0tw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2zsjCRA9TVsSAnZWagAA75kP/0lttl+Hud9rlys2OS8S\nyI/G3MFfQdqYlmdrucDVbj5BryzzyqxlFzgkcthL4RsCgSXo+uVyEA8ZJZVC\n2mVUxIb4jyHJhO/w1K1Z4YgXNgYxgck1NHuDFijq3rXOyu91iiuKGin3t9mu\nhl8kP09pIABhY+eJdt5qAzzQPd20u/2A+bUsq53CsFuz9V9xHzh5wMUtwh4h\nIhIBOaqbuF50TcnTPUtjZc54cCnXwCRICeP+oQQpnTrGUYthAU+i38FazgOT\ng8TxpLzZG2JFr46Pwwug9/cOdwdHnojq6k8ahjGJ3xKj4Btk/Vy6MKNcrLSN\nQ3E5Q/odg5eUcTz8Q/Ally5QvQC4aFPJ9kO8zUBZuxD4fFjZ9BJmfxFaRPIQ\nbXIgDbAJXeMt3AJdEP5YcjrQ064caFX6zB9zyVZuh7YgkOm8kJgSdyaerQFG\nyUEoUD8IAvTP9WlwncksDMAYLH++YmVBsF7M/sX7rahEcxJRVw/FCg5hH85i\n4JG5O53486ZEb6hX5gUN8rF4Z77WfrSwT70oaaIx4fUn/84i5UBY9yw3c9FX\nLOqHgNMNB0Ua/mXgWzefUjUHfCEaRDpyp1GrbAXTD4qfi2nJPq6rfY3Z1bdM\nQIypWk7kWvaJS8D47haN4xOuEekfwxMG77t9tUR9spU5gxrFe9Kk2osIGeHy\nn3jo\r\n=4LTq\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./lib/mozillians","gitHead":"4359e057062469b0e799562c887cadb52030aef5","scripts":{"test":"mocha -u tdd .test/*_test.js","compile":"babel-compile -c taskcluster-lib-rules/babel src:lib test:.test","pretest":"npm run compile","prepublish":"npm run compile"},"_npmUser":{"name":"jonasfj","email":"jopsen@gmail.com"},"repository":{"url":"git+https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"_npmVersion":"5.3.0","description":"Client library for mozillians.org","directories":{},"_nodeVersion":"8.6.0","dependencies":{"lodash":"^3.10.1","babel-runtime":"^5.8.25"},"devDependencies":{"mocha":"4.0.1","babel-compile":"^0.0.3","source-map-support":"^0.3.2","taskcluster-lib-rules":"^1.0.3"},"_npmOperationalInternal":{"tmp":"tmp/mozillians-client-0.1.4.tgz_1507747847843_0.6804792999755591","host":"s3://npm-registry-packages"}}},"time":{"created":"2015-10-19T20:54:30.284Z","modified":"2026-04-27T14:42:06.516Z","0.1.0":"2015-10-19T20:54:30.284Z","0.1.1":"2015-11-23T21:17:15.237Z","0.1.2":"2017-03-11T22:44:30.768Z","0.1.3":"2017-10-10T22:34:15.585Z","0.1.4":"2017-10-11T18:50:47.964Z"},"bugs":{"url":"https://github.com/jonasfj/node-mozillians-client/issues"},"author":{"name":"Jonas Finnemann Jensen","email":"jopsen@gmail.com"},"license":"MPL-2.0","homepage":"https://github.com/jonasfj/node-mozillians-client#readme","repository":{"url":"git+https://github.com/jonasfj/node-mozillians-client.git","type":"git"},"description":"Client library for mozillians.org","maintainers":[{"email":"taskcluster-accounts@mozilla.com","name":"taskcluster-bot"},{"email":"jopsen@gmail.com","name":"jonasfj"}],"readme":"Client Library for Mozillians.org (API v2)\n==========================================\n\nInstall with `npm mozillians-client --save`, and initialize as follows:\n```js\nvar Mozillians = require('mozillians-client');\n\nvar mozillians = new Mozillians('YOUR_API_KEY', {retries: 6});\n\nmozillians.users({email: '...'}).then(function(result) {\n  // Do something with result\n}, function(err) {\n  // Handle err\n});\n```\n\nThe module implements best practice REST API client principals such as:\n\n * Retries with exponential back-off,\n * Client side request, and\n * HTTPS keep-alive with default HTTPS agent.\n\nFor details on these options see the reference below or check out the source.\nAlso refer to\n[API documentation](http://mozillians.readthedocs.org/en/latest/api/apiv2/)\nfor more details on the options for the methods the the return value of the\nmethods, all methods returns promises that should be easy to work with.\n\nReference\n---------\nInstall with `npm mozillians-client --save`, and load as `Mozillians`.\n```js\nvar Mozillians = require('mozillians-client');\n```\nThen you will have the following methods.\n\n### `new Mozillians(apiKey, options)`\nCreate new Mozillians client with given `apiKey` and options:\n\n   * `timeout`, client side timeout,\n   * `hostname`, alternative hostname in-place of 'mozillians.org',\n   * `agent`, an `https.Agent` instance,\n   * `retries`, max number of request retries,\n   * `delayFactor`, factor by which delays between retries increase,\n   * `maxDelay`, maximum delay between retries,\n   * `transientErrorCodes`, error.codes for which requests are retried; these can\n     be syscall errors like \"ECONNRESET\" or integer HTTP error codes like 503.\n\n### `Mozillians#users(options)`\nGet users, given options:\n\n  * `is_vouched`, boolean - Return only vouched/unvouched users\n  * `username`, string - Return user with matching username\n  * `full_name`, string - Return user with matching full name\n  * `ircname`, string - Return user with matching ircname\n  * `email`, string - Return user with matching primary/alternate email\n  * `country`, string - Return users with matching country\n  * `region`, string - Return users with matching region\n  * `city`, string - Return users with matching city\n  * `page`, integer - Return results contained in specific page\n  * `language`, string - Return users speaking language matching language code\n  * `group`, string - Return users who are members of given group name\n  * `skill`, string - Return users with skill matching skill name\n\nIf a `next` or `previous` page is available the result object will have a\n`nextPage()` and `previousPage()` respectfully. Elements the `results` array\nwill have a `details()` method returning further details if available.\n\n### `Mozillians#groups(options)`\nGet groups, given options:\n\n * `name`, string - Return results matching given name\n * `curator`, integer - Return results matching given mozillians id\n * `functional_area`, true/false - only groups that are functional areas\n * `members_can_leave`, true/false - only groups with a members_can_leave policy\n * `accepting_new_members`, true/false - only groups with an accepting_new_members policy\n * `page`, integer - Return results contained in specific page\n\nIf a `next` or `previous` page is available the result object will have a\n`nextPage()` and `previousPage()` respectfully. Elements the `results` array\nwill have a `details()` method returning further details if available.\n\n\n### `Mozillians#skills(options)`\nGet skills, given options:\n\n * `name`, string - Return results matching given name\n * `page`, integer - Return results contained in specific page\n\nIf a `next` or `previous` page is available the result object will have a\n`nextPage()` and `previousPage()` respectfully. Elements the `results` array\nwill have a `details()` method returning further details if available.\n\n\nLicense\n-------\nThis module is released under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/).\n","readmeFilename":"README.md"}