{"action":"created","issue":{"url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/277","repository_url":"https://api.github.com/repos/oauthjs/node-oauth2-server","labels_url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/277/labels{/name}","comments_url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/277/comments","events_url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/277/events","html_url":"https://github.com/oauthjs/node-oauth2-server/issues/277","id":142063492,"number":277,"title":"Where are the examples of the version currently published at npm? / Which is the \"right\" version at npm?","user":{"login":"skleeschulte","id":3659947,"avatar_url":"https://avatars.githubusercontent.com/u/3659947?v=3","gravatar_id":"","url":"https://api.github.com/users/skleeschulte","html_url":"https://github.com/skleeschulte","followers_url":"https://api.github.com/users/skleeschulte/followers","following_url":"https://api.github.com/users/skleeschulte/following{/other_user}","gists_url":"https://api.github.com/users/skleeschulte/gists{/gist_id}","starred_url":"https://api.github.com/users/skleeschulte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skleeschulte/subscriptions","organizations_url":"https://api.github.com/users/skleeschulte/orgs","repos_url":"https://api.github.com/users/skleeschulte/repos","events_url":"https://api.github.com/users/skleeschulte/events{/privacy}","received_events_url":"https://api.github.com/users/skleeschulte/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-19T13:54:34Z","updated_at":"2016-03-26T14:06:52Z","closed_at":null,"body":"Hi, where would I find usage examples for the version of the package currently published at npm? (That's 2.4.0). I don't see a tag for version 2.4.0, and the docs at npmjs.com don't contain examples. Thank you!"},"comment":{"url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/comments/201830801","html_url":"https://github.com/oauthjs/node-oauth2-server/issues/277#issuecomment-201830801","issue_url":"https://api.github.com/repos/oauthjs/node-oauth2-server/issues/277","id":201830801,"user":{"login":"maxtruxa","id":1788010,"avatar_url":"https://avatars.githubusercontent.com/u/1788010?v=3","gravatar_id":"","url":"https://api.github.com/users/maxtruxa","html_url":"https://github.com/maxtruxa","followers_url":"https://api.github.com/users/maxtruxa/followers","following_url":"https://api.github.com/users/maxtruxa/following{/other_user}","gists_url":"https://api.github.com/users/maxtruxa/gists{/gist_id}","starred_url":"https://api.github.com/users/maxtruxa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxtruxa/subscriptions","organizations_url":"https://api.github.com/users/maxtruxa/orgs","repos_url":"https://api.github.com/users/maxtruxa/repos","events_url":"https://api.github.com/users/maxtruxa/events{/privacy}","received_events_url":"https://api.github.com/users/maxtruxa/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T14:06:52Z","updated_at":"2016-03-26T14:06:52Z","body":"Right now, the combination of published (or not yet published) versions/location of repositories/the out-of-date `README.md`/etc is just confusing. The fact that there are two separate packages on npm ([node-oauth2-server](https://www.npmjs.com/package/node-oauth2-server) and [oauth2-server](https://www.npmjs.com/package/oauth2-server)) that both point to this repository just adds to the confusion. Also, both packages are still on version 2.x, while the Wiki documentation is for 3.x.\r\n\r\nMy way around this mess is to just pull directly from GitHub:\r\n```\r\n\"oauth2-server\": \"github:seegno-forks/node-oauth2-server#enhancement/refactor-project\"\r\n```\r\nThis is the branch used by the currently published version of `express-oauth-server` ([npm](https://www.npmjs.com/package/express-oauth-server), [GitHub](https://github.com/oauthjs/express-oauth-server)).\r\n\r\n@tamilvendhank, The \"spelling error\" you're referring to is probably _authorise_ instead of _authorize_ on the npm page. That is part of the changes from 2.x to 3.x (read [this](https://github.com/oauthjs/node-oauth2-server/wiki/Migrating-from-2.x-to-3.x)), but the published versions on npm are on 2.4 and not 3.x.\r\n\r\n@thomseddon It would be great if you could\r\n- fix the `README.md` on master to correctly show 3.x usage\r\n- mark either `node-oauth2-server` or `oauth2-server` as deprecated and reference the correct one on npm\r\n- publish 3.x on npm\r\n\r\nThank you."}}