A utility to fetch and collate a list of npm package maintainers for a particular country or region. Uses data collected daily at https://github.com/polyhack/npm-github-data. Collected by npm-github-data-collector.
Currently there is only a list of Australian users, this is determined by a large regex matching against the GitHub account location field. See the See npm-maintainers-au package for a wrapper that provides the Australian list.
After downloading two large JSON data files from the above repository, you end up with an array of user entries that combines npm and GitHub data, something like this:
var npmMaintainers =var options =// country codecountry : 'au'// a list of npm and/or GitHub usernames to ignore, because the country// regex is a bit too broad perhapsignoreUsers : 'foobar'// a mapping of npm -> GitHub usernames, only needed for accounts that// can't be automatically worked out, see stdout for detailsnpmGithubMapping : 'boom': 'bang'
For a long running process, like a website, run this at least every 24 hours to pick up new data from the data repository.
npm-maintainers is Copyright (c) 2012 Rod Vagg @rvagg and the #polyhack team and licenced under the MIT licence. All rights not explicitly granted in the MIT license are reserved. See the included LICENSE file for more details.