{"action":"created","issue":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/278","repository_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js","labels_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/278/labels{/name}","comments_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/278/comments","events_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/278/events","html_url":"https://github.com/ncb000gt/node.bcrypt.js/pull/278","id":58783615,"number":278,"title":"Use node-pre-gyp to publish binaries","user":{"login":"ksmyth","id":1047813,"avatar_url":"https://avatars.githubusercontent.com/u/1047813?v=3","gravatar_id":"","url":"https://api.github.com/users/ksmyth","html_url":"https://github.com/ksmyth","followers_url":"https://api.github.com/users/ksmyth/followers","following_url":"https://api.github.com/users/ksmyth/following{/other_user}","gists_url":"https://api.github.com/users/ksmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/ksmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksmyth/subscriptions","organizations_url":"https://api.github.com/users/ksmyth/orgs","repos_url":"https://api.github.com/users/ksmyth/repos","events_url":"https://api.github.com/users/ksmyth/events{/privacy}","received_events_url":"https://api.github.com/users/ksmyth/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":16,"created_at":"2015-02-24T18:40:22Z","updated_at":"2016-09-02T17:24:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/pulls/278","html_url":"https://github.com/ncb000gt/node.bcrypt.js/pull/278","diff_url":"https://github.com/ncb000gt/node.bcrypt.js/pull/278.diff","patch_url":"https://github.com/ncb000gt/node.bcrypt.js/pull/278.patch"},"body":"This PR adds node-pre-gyp support.\r\n\r\nCompiling modules is a pain on Windows, since every machine needs the compiler. Downloading pre-built binaries during `npm install` is a big convenience.\r\n\r\nI made a v0.8.2 release to test:\r\n\r\n    npm install bcrypt@https://github.com/ksmyth/node.bcrypt.js/tarball/v0.8.2\r\n    > bcrypt@0.8.2 install C:\\Users\\kevin\\Documents\\webgme\\node_modules\\bcrypt\r\n    > node-pre-gyp install --fallback-to-build\r\n\r\n    [bcrypt] Success: \"C:\\Users\\kevin\\Documents\\webgme\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node\" is installed via remote\r\n    bcrypt@0.8.2 node_modules\\bcrypt\r\n    ├── bindings@1.0.0\r\n    ├── nan@1.5.0\r\n    └── node-pre-gyp@0.6.4\r\n\r\nThe log indicates that `https://github.com/ksmyth/node.bcrypt.js/releases/download/v0.8.2/bcrypt_lib-v0.8.2-node-v11-win32-x64.tar.gz` was downloaded and installed.\r\n\r\nIf you are open to distributing binaries, publishing the binaries could be automated with e.g. appveyor.\r\n"},"comment":{"url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/comments/244436894","html_url":"https://github.com/ncb000gt/node.bcrypt.js/pull/278#issuecomment-244436894","issue_url":"https://api.github.com/repos/ncb000gt/node.bcrypt.js/issues/278","id":244436894,"user":{"login":"ksmyth","id":1047813,"avatar_url":"https://avatars.githubusercontent.com/u/1047813?v=3","gravatar_id":"","url":"https://api.github.com/users/ksmyth","html_url":"https://github.com/ksmyth","followers_url":"https://api.github.com/users/ksmyth/followers","following_url":"https://api.github.com/users/ksmyth/following{/other_user}","gists_url":"https://api.github.com/users/ksmyth/gists{/gist_id}","starred_url":"https://api.github.com/users/ksmyth/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ksmyth/subscriptions","organizations_url":"https://api.github.com/users/ksmyth/orgs","repos_url":"https://api.github.com/users/ksmyth/repos","events_url":"https://api.github.com/users/ksmyth/events{/privacy}","received_events_url":"https://api.github.com/users/ksmyth/received_events","type":"User","site_admin":false},"created_at":"2016-09-02T17:24:03Z","updated_at":"2016-09-02T17:24:03Z","body":"I changed the URL to `ncb00gt` and pushed."}}
{"actor":{"display_login":"ksmyth"}}