{"size": 291, "ext": "js", "max_stars_repo_path": "source/Loader/JSONLoader.js", "max_stars_repo_name": "paralax/midas", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "source/Loader/JSONLoader.js", "max_issues_repo_name": "paralax/midas", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "source/Loader/JSONLoader.js", "max_forks_repo_name": "paralax/midas", "max_forks_repo_forks_event_min_datetime": "2018-04-01T04:19:25.000Z", "max_forks_repo_forks_event_max_datetime": "2018-04-01T04:19:25.000Z"}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 16.1666666667, "max_line_length": 76, "alphanum_fraction": 0.6323024055}
import Loader from './Loader';

// JSON
import fs from 'fs-extra';

class JSONLoader extends Loader {

    constructor(config) {
    	super(config);
    }

    load(data) {
        return fs.outputJson(this.config._target.path, data, {spaces:'\t'});
    }

}

export { JSONLoader as default}