{"action":"opened","issue":{"url":"https://api.github.com/repos/npm/npm/issues/9040","labels_url":"https://api.github.com/repos/npm/npm/issues/9040/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/9040/comments","events_url":"https://api.github.com/repos/npm/npm/issues/9040/events","html_url":"https://github.com/npm/npm/issues/9040","id":96800496,"number":9040,"title":"global bin name conflict resolution","user":{"login":"bucaran","id":8317250,"avatar_url":"https://avatars.githubusercontent.com/u/8317250?v=3","gravatar_id":"","url":"https://api.github.com/users/bucaran","html_url":"https://github.com/bucaran","followers_url":"https://api.github.com/users/bucaran/followers","following_url":"https://api.github.com/users/bucaran/following{/other_user}","gists_url":"https://api.github.com/users/bucaran/gists{/gist_id}","starred_url":"https://api.github.com/users/bucaran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bucaran/subscriptions","organizations_url":"https://api.github.com/users/bucaran/orgs","repos_url":"https://api.github.com/users/bucaran/repos","events_url":"https://api.github.com/users/bucaran/events{/privacy}","received_events_url":"https://api.github.com/users/bucaran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-23T12:14:35Z","updated_at":"2015-07-23T12:14:35Z","closed_at":null,"body":"Say my module exports:\r\n\r\n```json\r\n  \"bin\": {\r\n    \"app\": \"./bin/index.js\"\r\n  },\r\n```\r\n\r\nbut there is another conflicting module using the same name for its binary. Is there any way to hook into `npm i [-g]` to check whether `app` already exists and export the app with a different name instead? "}}