{"size": 432, "ext": "js", "max_stars_repo_path": "test/test-79-npm/data-preflight/data-preflight.js", "max_stars_repo_name": "stefb965/pkg", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "test/test-79-npm/data-preflight/data-preflight.js", "max_issues_repo_name": "stefb965/pkg", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/test-79-npm/data-preflight/data-preflight.js", "max_forks_repo_name": "stefb965/pkg", "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": 24.0, "max_line_length": 70, "alphanum_fraction": 0.6967592593}
'use strict';

var path = require('path');
var PreflightFile = require('data-preflight/src/js/preflightFile.js');
var rimraf = require('../../../node_modules/rimraf');
var output = 'Sample_4_col.csv_preflight.html';

var preflight = new PreflightFile(
  path.join(__dirname, 'Sample_4_col.csv'),
  output, 'html', false
);

preflight.init(function (error) {
  if (error) throw error;
  rimraf.sync(output);
  console.log('ok');
});
