{"action":"opened","number":73,"pull_request":{"url":"https://api.github.com/repos/motdotla/dotenv/pulls/73","id":38045343,"html_url":"https://github.com/motdotla/dotenv/pull/73","diff_url":"https://github.com/motdotla/dotenv/pull/73.diff","patch_url":"https://github.com/motdotla/dotenv/pull/73.patch","issue_url":"https://api.github.com/repos/motdotla/dotenv/issues/73","number":73,"state":"open","locked":false,"title":"preload module","user":{"login":"maxbeatty","id":93179,"avatar_url":"https://avatars.githubusercontent.com/u/93179?v=3","gravatar_id":"","url":"https://api.github.com/users/maxbeatty","html_url":"https://github.com/maxbeatty","followers_url":"https://api.github.com/users/maxbeatty/followers","following_url":"https://api.github.com/users/maxbeatty/following{/other_user}","gists_url":"https://api.github.com/users/maxbeatty/gists{/gist_id}","starred_url":"https://api.github.com/users/maxbeatty/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maxbeatty/subscriptions","organizations_url":"https://api.github.com/users/maxbeatty/orgs","repos_url":"https://api.github.com/users/maxbeatty/repos","events_url":"https://api.github.com/users/maxbeatty/events{/privacy}","received_events_url":"https://api.github.com/users/maxbeatty/received_events","type":"User","site_admin":false},"body":"With iojs 1.6.0 you can preload modules using the `-r` flag.\r\n\r\n```shell\r\niojs -r babel/register index.js\r\n```\r\n\r\nit would be awesome to be able to use **dotenv** like this.\r\n\r\n```shell\r\niojs -r dotenv/load index.js\r\n```\r\n\r\nwould load in all env variables without boilerplate code at top of the page.","created_at":"2015-06-18T19:48:20Z","updated_at":"2015-06-18T19:48:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/motdotla/dotenv/pulls/73/commits","review_comments_url":"https://api.github.com/repos/motdotla/dotenv/pulls/73/comments","review_comment_url":"https://api.github.com/repos/motdotla/dotenv/pulls/comments{/number}","comments_url":"https://api.github.com/repos/motdotla/dotenv/issues/73/comments","statuses_url":"https://api.github.com/repos/motdotla/dotenv/statuses/626c30b190a0cb63e8dfaf577df65467cbf6d47b","head":{"label":"motdotla:preload","ref":"preload","sha":"626c30b190a0cb63e8dfaf577df65467cbf6d47b","user":{"login":"motdotla","id":3848,"avatar_url":"https://avatars.githubusercontent.com/u/3848?v=3","gravatar_id":"","url":"https://api.github.com/users/motdotla","html_url":"https://github.com/motdotla","followers_url":"https://api.github.com/users/motdotla/followers","following_url":"https://api.github.com/users/motdotla/following{/other_user}","gists_url":"https://api.github.com/users/motdotla/gists{/gist_id}","starred_url":"https://api.github.com/users/motdotla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motdotla/subscriptions","organizations_url":"https://api.github.com/users/motdotla/orgs","repos_url":"https://api.github.com/users/motdotla/repos","events_url":"https://api.github.com/users/motdotla/events{/privacy}","received_events_url":"https://api.github.com/users/motdotla/received_events","type":"User","site_admin":false},"repo":{"id":11205780,"name":"dotenv","full_name":"motdotla/dotenv","owner":{"login":"motdotla","id":3848,"avatar_url":"https://avatars.githubusercontent.com/u/3848?v=3","gravatar_id":"","url":"https://api.github.com/users/motdotla","html_url":"https://github.com/motdotla","followers_url":"https://api.github.com/users/motdotla/followers","following_url":"https://api.github.com/users/motdotla/following{/other_user}","gists_url":"https://api.github.com/users/motdotla/gists{/gist_id}","starred_url":"https://api.github.com/users/motdotla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motdotla/subscriptions","organizations_url":"https://api.github.com/users/motdotla/orgs","repos_url":"https://api.github.com/users/motdotla/repos","events_url":"https://api.github.com/users/motdotla/events{/privacy}","received_events_url":"https://api.github.com/users/motdotla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/motdotla/dotenv","description":"Loads environment variables from .env for nodejs projects.","fork":false,"url":"https://api.github.com/repos/motdotla/dotenv","forks_url":"https://api.github.com/repos/motdotla/dotenv/forks","keys_url":"https://api.github.com/repos/motdotla/dotenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motdotla/dotenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motdotla/dotenv/teams","hooks_url":"https://api.github.com/repos/motdotla/dotenv/hooks","issue_events_url":"https://api.github.com/repos/motdotla/dotenv/issues/events{/number}","events_url":"https://api.github.com/repos/motdotla/dotenv/events","assignees_url":"https://api.github.com/repos/motdotla/dotenv/assignees{/user}","branches_url":"https://api.github.com/repos/motdotla/dotenv/branches{/branch}","tags_url":"https://api.github.com/repos/motdotla/dotenv/tags","blobs_url":"https://api.github.com/repos/motdotla/dotenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motdotla/dotenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motdotla/dotenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/motdotla/dotenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motdotla/dotenv/statuses/{sha}","languages_url":"https://api.github.com/repos/motdotla/dotenv/languages","stargazers_url":"https://api.github.com/repos/motdotla/dotenv/stargazers","contributors_url":"https://api.github.com/repos/motdotla/dotenv/contributors","subscribers_url":"https://api.github.com/repos/motdotla/dotenv/subscribers","subscription_url":"https://api.github.com/repos/motdotla/dotenv/subscription","commits_url":"https://api.github.com/repos/motdotla/dotenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/motdotla/dotenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/motdotla/dotenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/motdotla/dotenv/issues/comments{/number}","contents_url":"https://api.github.com/repos/motdotla/dotenv/contents/{+path}","compare_url":"https://api.github.com/repos/motdotla/dotenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motdotla/dotenv/merges","archive_url":"https://api.github.com/repos/motdotla/dotenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motdotla/dotenv/downloads","issues_url":"https://api.github.com/repos/motdotla/dotenv/issues{/number}","pulls_url":"https://api.github.com/repos/motdotla/dotenv/pulls{/number}","milestones_url":"https://api.github.com/repos/motdotla/dotenv/milestones{/number}","notifications_url":"https://api.github.com/repos/motdotla/dotenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motdotla/dotenv/labels{/name}","releases_url":"https://api.github.com/repos/motdotla/dotenv/releases{/id}","created_at":"2013-07-05T18:25:05Z","updated_at":"2015-06-18T00:52:50Z","pushed_at":"2015-06-18T19:47:54Z","git_url":"git://github.com/motdotla/dotenv.git","ssh_url":"git@github.com:motdotla/dotenv.git","clone_url":"https://github.com/motdotla/dotenv.git","svn_url":"https://github.com/motdotla/dotenv","homepage":"","size":756,"stargazers_count":415,"watchers_count":415,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":2,"forks":35,"open_issues":2,"watchers":415,"default_branch":"master"}},"base":{"label":"motdotla:master","ref":"master","sha":"7b83ab654d9e9661ae6bfaddcefcee72be9cf960","user":{"login":"motdotla","id":3848,"avatar_url":"https://avatars.githubusercontent.com/u/3848?v=3","gravatar_id":"","url":"https://api.github.com/users/motdotla","html_url":"https://github.com/motdotla","followers_url":"https://api.github.com/users/motdotla/followers","following_url":"https://api.github.com/users/motdotla/following{/other_user}","gists_url":"https://api.github.com/users/motdotla/gists{/gist_id}","starred_url":"https://api.github.com/users/motdotla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motdotla/subscriptions","organizations_url":"https://api.github.com/users/motdotla/orgs","repos_url":"https://api.github.com/users/motdotla/repos","events_url":"https://api.github.com/users/motdotla/events{/privacy}","received_events_url":"https://api.github.com/users/motdotla/received_events","type":"User","site_admin":false},"repo":{"id":11205780,"name":"dotenv","full_name":"motdotla/dotenv","owner":{"login":"motdotla","id":3848,"avatar_url":"https://avatars.githubusercontent.com/u/3848?v=3","gravatar_id":"","url":"https://api.github.com/users/motdotla","html_url":"https://github.com/motdotla","followers_url":"https://api.github.com/users/motdotla/followers","following_url":"https://api.github.com/users/motdotla/following{/other_user}","gists_url":"https://api.github.com/users/motdotla/gists{/gist_id}","starred_url":"https://api.github.com/users/motdotla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motdotla/subscriptions","organizations_url":"https://api.github.com/users/motdotla/orgs","repos_url":"https://api.github.com/users/motdotla/repos","events_url":"https://api.github.com/users/motdotla/events{/privacy}","received_events_url":"https://api.github.com/users/motdotla/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/motdotla/dotenv","description":"Loads environment variables from .env for nodejs projects.","fork":false,"url":"https://api.github.com/repos/motdotla/dotenv","forks_url":"https://api.github.com/repos/motdotla/dotenv/forks","keys_url":"https://api.github.com/repos/motdotla/dotenv/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motdotla/dotenv/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motdotla/dotenv/teams","hooks_url":"https://api.github.com/repos/motdotla/dotenv/hooks","issue_events_url":"https://api.github.com/repos/motdotla/dotenv/issues/events{/number}","events_url":"https://api.github.com/repos/motdotla/dotenv/events","assignees_url":"https://api.github.com/repos/motdotla/dotenv/assignees{/user}","branches_url":"https://api.github.com/repos/motdotla/dotenv/branches{/branch}","tags_url":"https://api.github.com/repos/motdotla/dotenv/tags","blobs_url":"https://api.github.com/repos/motdotla/dotenv/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motdotla/dotenv/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motdotla/dotenv/git/refs{/sha}","trees_url":"https://api.github.com/repos/motdotla/dotenv/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motdotla/dotenv/statuses/{sha}","languages_url":"https://api.github.com/repos/motdotla/dotenv/languages","stargazers_url":"https://api.github.com/repos/motdotla/dotenv/stargazers","contributors_url":"https://api.github.com/repos/motdotla/dotenv/contributors","subscribers_url":"https://api.github.com/repos/motdotla/dotenv/subscribers","subscription_url":"https://api.github.com/repos/motdotla/dotenv/subscription","commits_url":"https://api.github.com/repos/motdotla/dotenv/commits{/sha}","git_commits_url":"https://api.github.com/repos/motdotla/dotenv/git/commits{/sha}","comments_url":"https://api.github.com/repos/motdotla/dotenv/comments{/number}","issue_comment_url":"https://api.github.com/repos/motdotla/dotenv/issues/comments{/number}","contents_url":"https://api.github.com/repos/motdotla/dotenv/contents/{+path}","compare_url":"https://api.github.com/repos/motdotla/dotenv/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motdotla/dotenv/merges","archive_url":"https://api.github.com/repos/motdotla/dotenv/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motdotla/dotenv/downloads","issues_url":"https://api.github.com/repos/motdotla/dotenv/issues{/number}","pulls_url":"https://api.github.com/repos/motdotla/dotenv/pulls{/number}","milestones_url":"https://api.github.com/repos/motdotla/dotenv/milestones{/number}","notifications_url":"https://api.github.com/repos/motdotla/dotenv/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motdotla/dotenv/labels{/name}","releases_url":"https://api.github.com/repos/motdotla/dotenv/releases{/id}","created_at":"2013-07-05T18:25:05Z","updated_at":"2015-06-18T00:52:50Z","pushed_at":"2015-06-18T19:47:54Z","git_url":"git://github.com/motdotla/dotenv.git","ssh_url":"git@github.com:motdotla/dotenv.git","clone_url":"https://github.com/motdotla/dotenv.git","svn_url":"https://github.com/motdotla/dotenv","homepage":"","size":756,"stargazers_count":415,"watchers_count":415,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":35,"mirror_url":null,"open_issues_count":2,"forks":35,"open_issues":2,"watchers":415,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/motdotla/dotenv/pulls/73"},"html":{"href":"https://github.com/motdotla/dotenv/pull/73"},"issue":{"href":"https://api.github.com/repos/motdotla/dotenv/issues/73"},"comments":{"href":"https://api.github.com/repos/motdotla/dotenv/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/motdotla/dotenv/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/motdotla/dotenv/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/motdotla/dotenv/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/motdotla/dotenv/statuses/626c30b190a0cb63e8dfaf577df65467cbf6d47b"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":82,"deletions":24,"changed_files":5}}