{"size": 384, "ext": "js", "max_stars_repo_path": "client/templates/userList/userList.js", "max_stars_repo_name": "LookItsBlu/meteor-chess", "max_stars_repo_stars_event_min_datetime": "2021-05-12T01:34:52.000Z", "max_stars_repo_stars_event_max_datetime": "2021-05-12T01:34:52.000Z", "max_issues_repo_path": "client/templates/userList/userList.js", "max_issues_repo_name": "LookItsBlu/meteor-chess", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "client/templates/userList/userList.js", "max_forks_repo_name": "LookItsBlu/meteor-chess", "max_forks_repo_forks_event_min_datetime": "2021-05-12T01:34:54.000Z", "max_forks_repo_forks_event_max_datetime": "2021-05-12T01:34:54.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 24.0, "max_line_length": 104, "alphanum_fraction": 0.5989583333}
import './userList.html'
import './userList.styl'

Template.userList.helpers({
    'getUsers': () => Users.find({ '_id' : { $ne : JSON.parse(localStorage.getItem('Session')).user }}),
    'isFriend': (user) => (
        Users.findOne({
            '_id' : JSON.parse(localStorage.getItem('Session')).user
        }).friends.includes(user._id)
    )
})

Template.userList.events({

})
