{"size": 316, "ext": "js", "max_stars_repo_path": "src/utilBytes.js", "max_stars_repo_name": "Scoup/node-usb2000plus", "max_stars_repo_stars_event_min_datetime": "2019-08-22T20:01:47.000Z", "max_stars_repo_stars_event_max_datetime": "2019-08-22T20:01:47.000Z", "max_issues_repo_path": "src/utilBytes.js", "max_issues_repo_name": "Scoup/node-usb2000plus", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/utilBytes.js", "max_forks_repo_name": "Scoup/node-usb2000plus", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.3076923077, "max_line_length": 84, "alphanum_fraction": 0.6202531646}
var utilBytes = function() {
	
}

utilBytes.prototype.zeroFill = function(number, width) {
	width -= number.toString().length;
 	if (width > 0) {
    	return new Array( width + (/\./.test( number ) ? 2 : 1) ).join( '0' ) + number;
	}
	return number + ""; // always return a string
}

module.exports = new utilBytes()