{"action":"created","issue":{"url":"https://api.github.com/repos/sindresorhus/pify/issues/19","repository_url":"https://api.github.com/repos/sindresorhus/pify","labels_url":"https://api.github.com/repos/sindresorhus/pify/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/sindresorhus/pify/issues/19/comments","events_url":"https://api.github.com/repos/sindresorhus/pify/issues/19/events","html_url":"https://github.com/sindresorhus/pify/pull/19","id":148751152,"number":19,"title":"Add option.suffix and option.modify","user":{"login":"btd","id":334851,"avatar_url":"https://avatars.githubusercontent.com/u/334851?v=3","gravatar_id":"","url":"https://api.github.com/users/btd","html_url":"https://github.com/btd","followers_url":"https://api.github.com/users/btd/followers","following_url":"https://api.github.com/users/btd/following{/other_user}","gists_url":"https://api.github.com/users/btd/gists{/gist_id}","starred_url":"https://api.github.com/users/btd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btd/subscriptions","organizations_url":"https://api.github.com/users/btd/orgs","repos_url":"https://api.github.com/users/btd/repos","events_url":"https://api.github.com/users/btd/events{/privacy}","received_events_url":"https://api.github.com/users/btd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-04-15T19:44:29Z","updated_at":"2016-04-16T08:56:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/sindresorhus/pify/pulls/19","html_url":"https://github.com/sindresorhus/pify/pull/19","diff_url":"https://github.com/sindresorhus/pify/pull/19.diff","patch_url":"https://github.com/sindresorhus/pify/pull/19.patch"},"body":"By idea this should replicate behavior of bluebird .promisifyAll"},"comment":{"url":"https://api.github.com/repos/sindresorhus/pify/issues/comments/210775964","html_url":"https://github.com/sindresorhus/pify/pull/19#issuecomment-210775964","issue_url":"https://api.github.com/repos/sindresorhus/pify/issues/19","id":210775964,"user":{"login":"btd","id":334851,"avatar_url":"https://avatars.githubusercontent.com/u/334851?v=3","gravatar_id":"","url":"https://api.github.com/users/btd","html_url":"https://github.com/btd","followers_url":"https://api.github.com/users/btd/followers","following_url":"https://api.github.com/users/btd/following{/other_user}","gists_url":"https://api.github.com/users/btd/gists{/gist_id}","starred_url":"https://api.github.com/users/btd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/btd/subscriptions","organizations_url":"https://api.github.com/users/btd/orgs","repos_url":"https://api.github.com/users/btd/repos","events_url":"https://api.github.com/users/btd/events{/privacy}","received_events_url":"https://api.github.com/users/btd/received_events","type":"User","site_admin":false},"created_at":"2016-04-16T08:56:03Z","updated_at":"2016-04-16T08:56:03Z","body":"bluebird's .promisifyAll change target object, by adding new methods with Async suffix.\r\n\r\nIt is pretty common to use it like:\r\n```\r\nvar callbackLib = ...;\r\n\r\nPromise.promisifyAll(callbackLib);\r\n\r\n// now i can use new and old methods \r\ncallbackLib.callAsync(...).then...\r\n\r\n// it is very usefull with libs that do some sort of generation at runtime like massivejs reads schema and create table/view/function at startup and mongoose collections.\r\n```"}}