src/index.js
/**
 * Checks if the mon cache contains a mon and updates it if it does
 * @param {string} key Canonical representation of a request
 * @return {Obbject} The sets for the requested mon and meta or null
 */
Checks if the mon cache contains a mon and updates it if it does
@param {string} key Canonical representation of a request
@return {Obbject} The sets for the requested mon and meta or null
Checks if the mon cache contains a mon and updates it if it does @param { string } key Canonical representation of a request @return { Obbject } The sets for the requested mon and meta or null
function checkCache(key) {
	if (!(key in cache)) {
		return null;
	}
	if ((Date.now() - cache[key].updated) >= 172800000) {
		return null;
	}
	return cache[key].sets;
}
function checkCache ( key ) { if ( ! ( key in cache ) ) { return null ; } if ( ( Date . now ( ) - cache [ key ] . updated ) >= 172800000 ) { return null ; } return cache [ key ] . sets ; }
Checks if the mon cache contains a mon and updates it if it does
 @param {string} key Canonical representation of a request
 @return {Obbject} The sets for the requested mon and meta or null
Checks if the mon cache contains a mon and updates it if it does @param { string } key Canonical representation of a request @return { Obbject } The sets for the requested mon and meta or null