{"action":"created","issue":{"url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/144","labels_url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/144/comments","events_url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/144/events","html_url":"https://github.com/crypto-browserify/crypto-browserify/pull/144","id":119523036,"number":144,"title":"jspm node support","user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-11-30T16:06:47Z","updated_at":"2015-12-01T10:26:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/pulls/144","html_url":"https://github.com/crypto-browserify/crypto-browserify/pull/144","diff_url":"https://github.com/crypto-browserify/crypto-browserify/pull/144.diff","patch_url":"https://github.com/crypto-browserify/crypto-browserify/pull/144.patch"},"body":"This PR includes the necessary jspm configuration for this package to work in Node with the coming jspm 0.17 release, allowing this single package to provide both client and server support.\r\n\r\nI completely understand if you'd rather not support this here, but it will simplify user configuration locally having it in one place. There is no maintenance burden either as I would continue to maintain this personally.\r\n\r\nJust let me know if you have any questions at all, and thanks for considering."},"comment":{"url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/comments/160927502","html_url":"https://github.com/crypto-browserify/crypto-browserify/pull/144#issuecomment-160927502","issue_url":"https://api.github.com/repos/crypto-browserify/crypto-browserify/issues/144","id":160927502,"user":{"login":"guybedford","id":598730,"avatar_url":"https://avatars.githubusercontent.com/u/598730?v=3","gravatar_id":"","url":"https://api.github.com/users/guybedford","html_url":"https://github.com/guybedford","followers_url":"https://api.github.com/users/guybedford/followers","following_url":"https://api.github.com/users/guybedford/following{/other_user}","gists_url":"https://api.github.com/users/guybedford/gists{/gist_id}","starred_url":"https://api.github.com/users/guybedford/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guybedford/subscriptions","organizations_url":"https://api.github.com/users/guybedford/orgs","repos_url":"https://api.github.com/users/guybedford/repos","events_url":"https://api.github.com/users/guybedford/events{/privacy}","received_events_url":"https://api.github.com/users/guybedford/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T10:26:54Z","updated_at":"2015-12-01T10:26:54Z","body":"To explain the configuration it just says that when loading this package in a NodeJS environment, instead of loading the main entry point here, load the Node core version of crypto. This allows `jspm install crypto=npm:crypto-browserify` to provide an `import crypto from 'crypto'` which will work and build in all environments.\r\n\r\nThere are 22 of these PRs just for the core Browserify libs, to give jspm full universal JS support. All other configurations do just work in jspm detected from the npm conventions but this is specifically the Node core branching case.\r\n\r\nThe alternative is to have a wrapper package, but I don't want to introduce an unnecessary dependency, so the effective best alternative does just end up being my running a fork, and hence this PR."}}