{"size": 416, "ext": "js", "max_stars_repo_path": "node_modules/require/node_modules/std/throttle.js", "max_stars_repo_name": "Delpiero0424/myapp04", "max_stars_repo_stars_event_min_datetime": "2020-01-26T23:32:57.000Z", "max_stars_repo_stars_event_max_datetime": "2022-03-20T14:49:57.000Z", "max_issues_repo_path": "node_modules/require/node_modules/std/throttle.js", "max_issues_repo_name": "Delpiero0424/myapp04", "max_issues_repo_issues_event_min_datetime": "2018-11-13T20:04:35.000Z", "max_issues_repo_issues_event_max_datetime": "2021-03-09T00:22:51.000Z", "max_forks_repo_path": "Develop/node_modules/std/throttle.js", "max_forks_repo_name": "Shbibby/10TeamProfileGenerator", "max_forks_repo_forks_event_min_datetime": "2020-02-18T16:15:48.000Z", "max_forks_repo_forks_event_max_datetime": "2022-03-24T15:12:05.000Z"}
{"max_stars_count": 51, "max_issues_count": 47, "max_forks_count": 33, "avg_line_length": 27.7333333333, "max_line_length": 57, "alphanum_fraction": 0.6754807692}
var unique = 0
module.exports = function throttle(fn, delay) {
	if (typeof delay != 'number') { delay = 50 }
	var timeoutName = '__throttleTimeout__' + (++unique)
	return function throttled() {
		if (this[timeoutName]) { return }
		var args = arguments, self = this
		this[timeoutName] = setTimeout(function fireDelayed() {
			delete self[timeoutName]
			fn.apply(self, args)
		}, delay)
		fn.apply(self, args)
	}
}
