{"size": 325, "ext": "js", "max_stars_repo_path": "index.js", "max_stars_repo_name": "stierma1/edc-rm", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "index.js", "max_issues_repo_name": "stierma1/edc-rm", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "index.js", "max_forks_repo_name": "stierma1/edc-rm", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.4761904762, "max_line_length": 61, "alphanum_fraction": 0.6030769231}
"use strict"

var Worker = require("basic-distributed-computation").Worker;

class RM extends Worker {
  constructor(parent){
    super("rm", parent);
  }

  work(req, inputKey, outputKey){
    if(inputKey){
      delete req.body[inputKey];
    } else {
      req.body = {};
    }
    req.next();
  }
}

module.exports = RM;
