{"action":"created","issue":{"url":"https://api.github.com/repos/anvaka/npmrank/issues/6","labels_url":"https://api.github.com/repos/anvaka/npmrank/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/anvaka/npmrank/issues/6/comments","events_url":"https://api.github.com/repos/anvaka/npmrank/issues/6/events","html_url":"https://github.com/anvaka/npmrank/issues/6","id":104140473,"number":6,"title":"Determine the usage of a package by version.","user":{"login":"jdalton","id":4303,"avatar_url":"https://avatars.githubusercontent.com/u/4303?v=3","gravatar_id":"","url":"https://api.github.com/users/jdalton","html_url":"https://github.com/jdalton","followers_url":"https://api.github.com/users/jdalton/followers","following_url":"https://api.github.com/users/jdalton/following{/other_user}","gists_url":"https://api.github.com/users/jdalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jdalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jdalton/subscriptions","organizations_url":"https://api.github.com/users/jdalton/orgs","repos_url":"https://api.github.com/users/jdalton/repos","events_url":"https://api.github.com/users/jdalton/events{/privacy}","received_events_url":"https://api.github.com/users/jdalton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-08-31T21:42:24Z","updated_at":"2015-09-02T06:29:53Z","closed_at":"2015-09-02T06:25:20Z","body":"Based on https://twitter.com/davemethvin/status/638460262270566400\r\n\r\n> Is there an easy way to determine which versions of your npm package the world is using? Like a pie chart of version share.\r\n\r\n\\cc @dmethvin"},"comment":{"url":"https://api.github.com/repos/anvaka/npmrank/issues/comments/136949669","html_url":"https://github.com/anvaka/npmrank/issues/6#issuecomment-136949669","issue_url":"https://api.github.com/repos/anvaka/npmrank/issues/6","id":136949669,"user":{"login":"anvaka","id":225407,"avatar_url":"https://avatars.githubusercontent.com/u/225407?v=3","gravatar_id":"","url":"https://api.github.com/users/anvaka","html_url":"https://github.com/anvaka","followers_url":"https://api.github.com/users/anvaka/followers","following_url":"https://api.github.com/users/anvaka/following{/other_user}","gists_url":"https://api.github.com/users/anvaka/gists{/gist_id}","starred_url":"https://api.github.com/users/anvaka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anvaka/subscriptions","organizations_url":"https://api.github.com/users/anvaka/orgs","repos_url":"https://api.github.com/users/anvaka/repos","events_url":"https://api.github.com/users/anvaka/events{/privacy}","received_events_url":"https://api.github.com/users/anvaka/received_events","type":"User","site_admin":false},"created_at":"2015-09-02T06:29:53Z","updated_at":"2015-09-02T06:29:53Z","body":"@jdalton @dmethvin - I've added utility to count versions. \r\n\r\nHere is a public gist generate a moment ago for jquery and lodash: https://gist.github.com/anvaka/932a9395790d6c181ac3\r\n\r\nTo count which versions depend on your package use `countVersions.js` utility:\r\n\r\n```\r\nnode countVersions.js jquery\r\n```\r\n\r\nIf you pass `--print-names` it will show real packages instead of numbers:\r\n\r\n```\r\nnode countVersions.js jquery --print-names\r\n```"}}