{"action":"closed","number":14887,"pull_request":{"url":"https://api.github.com/repos/ariya/phantomjs/pulls/14887","id":110195367,"html_url":"https://github.com/ariya/phantomjs/pull/14887","diff_url":"https://github.com/ariya/phantomjs/pull/14887.diff","patch_url":"https://github.com/ariya/phantomjs/pull/14887.patch","issue_url":"https://api.github.com/repos/ariya/phantomjs/issues/14887","number":14887,"state":"closed","locked":false,"title":"_posts/api/fs/method/2000-01-01-write.md","user":{"login":"soprano","id":372871,"avatar_url":"https://avatars3.githubusercontent.com/u/372871?v=4","gravatar_id":"","url":"https://api.github.com/users/soprano","html_url":"https://github.com/soprano","followers_url":"https://api.github.com/users/soprano/followers","following_url":"https://api.github.com/users/soprano/following{/other_user}","gists_url":"https://api.github.com/users/soprano/gists{/gist_id}","starred_url":"https://api.github.com/users/soprano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soprano/subscriptions","organizations_url":"https://api.github.com/users/soprano/orgs","repos_url":"https://api.github.com/users/soprano/repos","events_url":"https://api.github.com/users/soprano/events{/privacy}","received_events_url":"https://api.github.com/users/soprano/received_events","type":"User","site_admin":false},"body":"fs.write(path, content, 'a'); // will append to the end of an existing file or create and write to a newly created file.\r\n\r\n// If you are writing text files have a \"\\n\" at the end of content if you want to append as a new line. Otherwise, it will keep adding text to the file without going to a new line.","created_at":"2017-03-10T19:40:13Z","updated_at":"2017-12-20T09:41:53Z","closed_at":"2017-12-20T09:41:53Z","merged_at":"2017-12-20T09:41:53Z","merge_commit_sha":"fb22f58937776ca0d9f147defc4b9e4866055547","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/ariya/phantomjs/pulls/14887/commits","review_comments_url":"https://api.github.com/repos/ariya/phantomjs/pulls/14887/comments","review_comment_url":"https://api.github.com/repos/ariya/phantomjs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ariya/phantomjs/issues/14887/comments","statuses_url":"https://api.github.com/repos/ariya/phantomjs/statuses/afe0a1554b75b7e8b593b49e095ce29a5535c0dd","head":{"label":"soprano:patch-1","ref":"patch-1","sha":"afe0a1554b75b7e8b593b49e095ce29a5535c0dd","user":{"login":"soprano","id":372871,"avatar_url":"https://avatars3.githubusercontent.com/u/372871?v=4","gravatar_id":"","url":"https://api.github.com/users/soprano","html_url":"https://github.com/soprano","followers_url":"https://api.github.com/users/soprano/followers","following_url":"https://api.github.com/users/soprano/following{/other_user}","gists_url":"https://api.github.com/users/soprano/gists{/gist_id}","starred_url":"https://api.github.com/users/soprano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soprano/subscriptions","organizations_url":"https://api.github.com/users/soprano/orgs","repos_url":"https://api.github.com/users/soprano/repos","events_url":"https://api.github.com/users/soprano/events{/privacy}","received_events_url":"https://api.github.com/users/soprano/received_events","type":"User","site_admin":false},"repo":{"id":84593720,"name":"phantomjs","full_name":"soprano/phantomjs","owner":{"login":"soprano","id":372871,"avatar_url":"https://avatars3.githubusercontent.com/u/372871?v=4","gravatar_id":"","url":"https://api.github.com/users/soprano","html_url":"https://github.com/soprano","followers_url":"https://api.github.com/users/soprano/followers","following_url":"https://api.github.com/users/soprano/following{/other_user}","gists_url":"https://api.github.com/users/soprano/gists{/gist_id}","starred_url":"https://api.github.com/users/soprano/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/soprano/subscriptions","organizations_url":"https://api.github.com/users/soprano/orgs","repos_url":"https://api.github.com/users/soprano/repos","events_url":"https://api.github.com/users/soprano/events{/privacy}","received_events_url":"https://api.github.com/users/soprano/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/soprano/phantomjs","description":"Scriptable Headless WebKit","fork":true,"url":"https://api.github.com/repos/soprano/phantomjs","forks_url":"https://api.github.com/repos/soprano/phantomjs/forks","keys_url":"https://api.github.com/repos/soprano/phantomjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/soprano/phantomjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/soprano/phantomjs/teams","hooks_url":"https://api.github.com/repos/soprano/phantomjs/hooks","issue_events_url":"https://api.github.com/repos/soprano/phantomjs/issues/events{/number}","events_url":"https://api.github.com/repos/soprano/phantomjs/events","assignees_url":"https://api.github.com/repos/soprano/phantomjs/assignees{/user}","branches_url":"https://api.github.com/repos/soprano/phantomjs/branches{/branch}","tags_url":"https://api.github.com/repos/soprano/phantomjs/tags","blobs_url":"https://api.github.com/repos/soprano/phantomjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/soprano/phantomjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/soprano/phantomjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/soprano/phantomjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/soprano/phantomjs/statuses/{sha}","languages_url":"https://api.github.com/repos/soprano/phantomjs/languages","stargazers_url":"https://api.github.com/repos/soprano/phantomjs/stargazers","contributors_url":"https://api.github.com/repos/soprano/phantomjs/contributors","subscribers_url":"https://api.github.com/repos/soprano/phantomjs/subscribers","subscription_url":"https://api.github.com/repos/soprano/phantomjs/subscription","commits_url":"https://api.github.com/repos/soprano/phantomjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/soprano/phantomjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/soprano/phantomjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/soprano/phantomjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/soprano/phantomjs/contents/{+path}","compare_url":"https://api.github.com/repos/soprano/phantomjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/soprano/phantomjs/merges","archive_url":"https://api.github.com/repos/soprano/phantomjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/soprano/phantomjs/downloads","issues_url":"https://api.github.com/repos/soprano/phantomjs/issues{/number}","pulls_url":"https://api.github.com/repos/soprano/phantomjs/pulls{/number}","milestones_url":"https://api.github.com/repos/soprano/phantomjs/milestones{/number}","notifications_url":"https://api.github.com/repos/soprano/phantomjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/soprano/phantomjs/labels{/name}","releases_url":"https://api.github.com/repos/soprano/phantomjs/releases{/id}","deployments_url":"https://api.github.com/repos/soprano/phantomjs/deployments","created_at":"2017-03-10T19:27:45Z","updated_at":"2017-03-10T19:27:49Z","pushed_at":"2017-03-10T19:39:46Z","git_url":"git://github.com/soprano/phantomjs.git","ssh_url":"git@github.com:soprano/phantomjs.git","clone_url":"https://github.com/soprano/phantomjs.git","svn_url":"https://github.com/soprano/phantomjs","homepage":"http://phantomjs.org","size":161697,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"ariya:gh-pages","ref":"gh-pages","sha":"adbfa105e07776d5491b0287660ca60811557615","user":{"login":"ariya","id":7288,"avatar_url":"https://avatars1.githubusercontent.com/u/7288?v=4","gravatar_id":"","url":"https://api.github.com/users/ariya","html_url":"https://github.com/ariya","followers_url":"https://api.github.com/users/ariya/followers","following_url":"https://api.github.com/users/ariya/following{/other_user}","gists_url":"https://api.github.com/users/ariya/gists{/gist_id}","starred_url":"https://api.github.com/users/ariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariya/subscriptions","organizations_url":"https://api.github.com/users/ariya/orgs","repos_url":"https://api.github.com/users/ariya/repos","events_url":"https://api.github.com/users/ariya/events{/privacy}","received_events_url":"https://api.github.com/users/ariya/received_events","type":"User","site_admin":false},"repo":{"id":1200050,"name":"phantomjs","full_name":"ariya/phantomjs","owner":{"login":"ariya","id":7288,"avatar_url":"https://avatars1.githubusercontent.com/u/7288?v=4","gravatar_id":"","url":"https://api.github.com/users/ariya","html_url":"https://github.com/ariya","followers_url":"https://api.github.com/users/ariya/followers","following_url":"https://api.github.com/users/ariya/following{/other_user}","gists_url":"https://api.github.com/users/ariya/gists{/gist_id}","starred_url":"https://api.github.com/users/ariya/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ariya/subscriptions","organizations_url":"https://api.github.com/users/ariya/orgs","repos_url":"https://api.github.com/users/ariya/repos","events_url":"https://api.github.com/users/ariya/events{/privacy}","received_events_url":"https://api.github.com/users/ariya/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ariya/phantomjs","description":"Scriptable Headless WebKit","fork":false,"url":"https://api.github.com/repos/ariya/phantomjs","forks_url":"https://api.github.com/repos/ariya/phantomjs/forks","keys_url":"https://api.github.com/repos/ariya/phantomjs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ariya/phantomjs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ariya/phantomjs/teams","hooks_url":"https://api.github.com/repos/ariya/phantomjs/hooks","issue_events_url":"https://api.github.com/repos/ariya/phantomjs/issues/events{/number}","events_url":"https://api.github.com/repos/ariya/phantomjs/events","assignees_url":"https://api.github.com/repos/ariya/phantomjs/assignees{/user}","branches_url":"https://api.github.com/repos/ariya/phantomjs/branches{/branch}","tags_url":"https://api.github.com/repos/ariya/phantomjs/tags","blobs_url":"https://api.github.com/repos/ariya/phantomjs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ariya/phantomjs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ariya/phantomjs/git/refs{/sha}","trees_url":"https://api.github.com/repos/ariya/phantomjs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ariya/phantomjs/statuses/{sha}","languages_url":"https://api.github.com/repos/ariya/phantomjs/languages","stargazers_url":"https://api.github.com/repos/ariya/phantomjs/stargazers","contributors_url":"https://api.github.com/repos/ariya/phantomjs/contributors","subscribers_url":"https://api.github.com/repos/ariya/phantomjs/subscribers","subscription_url":"https://api.github.com/repos/ariya/phantomjs/subscription","commits_url":"https://api.github.com/repos/ariya/phantomjs/commits{/sha}","git_commits_url":"https://api.github.com/repos/ariya/phantomjs/git/commits{/sha}","comments_url":"https://api.github.com/repos/ariya/phantomjs/comments{/number}","issue_comment_url":"https://api.github.com/repos/ariya/phantomjs/issues/comments{/number}","contents_url":"https://api.github.com/repos/ariya/phantomjs/contents/{+path}","compare_url":"https://api.github.com/repos/ariya/phantomjs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ariya/phantomjs/merges","archive_url":"https://api.github.com/repos/ariya/phantomjs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ariya/phantomjs/downloads","issues_url":"https://api.github.com/repos/ariya/phantomjs/issues{/number}","pulls_url":"https://api.github.com/repos/ariya/phantomjs/pulls{/number}","milestones_url":"https://api.github.com/repos/ariya/phantomjs/milestones{/number}","notifications_url":"https://api.github.com/repos/ariya/phantomjs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ariya/phantomjs/labels{/name}","releases_url":"https://api.github.com/repos/ariya/phantomjs/releases{/id}","deployments_url":"https://api.github.com/repos/ariya/phantomjs/deployments","created_at":"2010-12-27T08:18:58Z","updated_at":"2017-12-20T09:18:54Z","pushed_at":"2017-12-20T09:41:53Z","git_url":"git://github.com/ariya/phantomjs.git","ssh_url":"git@github.com:ariya/phantomjs.git","clone_url":"https://github.com/ariya/phantomjs.git","svn_url":"https://github.com/ariya/phantomjs","homepage":"http://phantomjs.org","size":162071,"stargazers_count":24087,"watchers_count":24087,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":5171,"mirror_url":null,"archived":false,"open_issues_count":2034,"license":{"key":"bsd-3-clause","name":"BSD 3-clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":5171,"open_issues":2034,"watchers":24087,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ariya/phantomjs/pulls/14887"},"html":{"href":"https://github.com/ariya/phantomjs/pull/14887"},"issue":{"href":"https://api.github.com/repos/ariya/phantomjs/issues/14887"},"comments":{"href":"https://api.github.com/repos/ariya/phantomjs/issues/14887/comments"},"review_comments":{"href":"https://api.github.com/repos/ariya/phantomjs/pulls/14887/comments"},"review_comment":{"href":"https://api.github.com/repos/ariya/phantomjs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ariya/phantomjs/pulls/14887/commits"},"statuses":{"href":"https://api.github.com/repos/ariya/phantomjs/statuses/afe0a1554b75b7e8b593b49e095ce29a5535c0dd"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"pixiuPL","id":34674263,"avatar_url":"https://avatars2.githubusercontent.com/u/34674263?v=4","gravatar_id":"","url":"https://api.github.com/users/pixiuPL","html_url":"https://github.com/pixiuPL","followers_url":"https://api.github.com/users/pixiuPL/followers","following_url":"https://api.github.com/users/pixiuPL/following{/other_user}","gists_url":"https://api.github.com/users/pixiuPL/gists{/gist_id}","starred_url":"https://api.github.com/users/pixiuPL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixiuPL/subscriptions","organizations_url":"https://api.github.com/users/pixiuPL/orgs","repos_url":"https://api.github.com/users/pixiuPL/repos","events_url":"https://api.github.com/users/pixiuPL/events{/privacy}","received_events_url":"https://api.github.com/users/pixiuPL/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":4,"deletions":0,"changed_files":1}}
{"actor":{"display_login":"pixiuPL"}}