{"action":"created","issue":{"url":"https://api.github.com/repos/ipfs/community/issues/59","labels_url":"https://api.github.com/repos/ipfs/community/issues/59/labels{/name}","comments_url":"https://api.github.com/repos/ipfs/community/issues/59/comments","events_url":"https://api.github.com/repos/ipfs/community/issues/59/events","html_url":"https://github.com/ipfs/community/issues/59","id":112163314,"number":59,"title":"Node and Javascript guidelines file","user":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"RichardLitt","id":910753,"avatar_url":"https://avatars.githubusercontent.com/u/910753?v=3","gravatar_id":"","url":"https://api.github.com/users/RichardLitt","html_url":"https://github.com/RichardLitt","followers_url":"https://api.github.com/users/RichardLitt/followers","following_url":"https://api.github.com/users/RichardLitt/following{/other_user}","gists_url":"https://api.github.com/users/RichardLitt/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardLitt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardLitt/subscriptions","organizations_url":"https://api.github.com/users/RichardLitt/orgs","repos_url":"https://api.github.com/users/RichardLitt/repos","events_url":"https://api.github.com/users/RichardLitt/events{/privacy}","received_events_url":"https://api.github.com/users/RichardLitt/received_events","type":"User","site_admin":false},"milestone":null,"comments":11,"created_at":"2015-10-19T15:00:30Z","updated_at":"2016-01-15T08:44:29Z","closed_at":"2016-01-10T20:31:39Z","body":"We should have a nodejs and javascript guidelines file to link to from all IPFS js repositories. I can't seem to find a good example of any JS guidelines in our current repositories (anyone know of one?), so I think we should hash out what standards we want here, so that we can add that to an eventual file, like we did with Go in #58. \r\n\r\nOpen questions:\r\n- Standard format? Do we want to conform to ferross/standard? \r\n- Standard testing framework?\r\n- Standard test coverage needed? \r\n\r\nI could build us a comprehensive styleguide given time if needed; plenty of good examples on [RichardLitt/awesome-styleguides](https://github.com/RichardLitt/awesome-styleguides) to work from. \r\n\r\ncc @diasdavid @jbenet "},"comment":{"url":"https://api.github.com/repos/ipfs/community/issues/comments/171903376","html_url":"https://github.com/ipfs/community/issues/59#issuecomment-171903376","issue_url":"https://api.github.com/repos/ipfs/community/issues/59","id":171903376,"user":{"login":"chriscool","id":208954,"avatar_url":"https://avatars.githubusercontent.com/u/208954?v=3","gravatar_id":"","url":"https://api.github.com/users/chriscool","html_url":"https://github.com/chriscool","followers_url":"https://api.github.com/users/chriscool/followers","following_url":"https://api.github.com/users/chriscool/following{/other_user}","gists_url":"https://api.github.com/users/chriscool/gists{/gist_id}","starred_url":"https://api.github.com/users/chriscool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chriscool/subscriptions","organizations_url":"https://api.github.com/users/chriscool/orgs","repos_url":"https://api.github.com/users/chriscool/repos","events_url":"https://api.github.com/users/chriscool/events{/privacy}","received_events_url":"https://api.github.com/users/chriscool/received_events","type":"User","site_admin":false},"created_at":"2016-01-15T08:44:29Z","updated_at":"2016-01-15T08:44:29Z","body":"I don't know much about the js tools. In general I think it is nice to be able to check that all or most of the big features have at least a few tests. On the other hand I agree that it's probably not worth it to try to have numbers to be able to say for example that 85% of the code paths are tested."}}