{"size": 263, "ext": "js", "max_stars_repo_path": "lib/server.js", "max_stars_repo_name": "JemiloII/space-engineers", "max_stars_repo_stars_event_min_datetime": "2020-10-23T07:36:27.000Z", "max_stars_repo_stars_event_max_datetime": "2020-10-23T07:36:27.000Z", "max_issues_repo_path": "lib/server.js", "max_issues_repo_name": "JemiloII/space-engineers", "max_issues_repo_issues_event_min_datetime": "2020-08-13T13:54:01.000Z", "max_issues_repo_issues_event_max_datetime": "2021-04-08T16:48:59.000Z", "max_forks_repo_path": "lib/server.js", "max_forks_repo_name": "JemiloII/space-engineers", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 3, "max_forks_count": null, "avg_line_length": 17.5333333333, "max_line_length": 53, "alphanum_fraction": 0.5893536122}
const {send} = require('./bridge');
const serverPath = '/v1/server';

const info = () => send('GET', serverPath);

const ping = () => send('GET', `${serverPath}/ping`);

const stop = () => send('DELETE', serverPath);

module.exports = {
  info,
  ping,
  stop
};
