src/tiny.js
/**
	 * Convert a short url to the original full orl
	 * @param {string} shortUrl 
	 * @return {string} the plain url if found, else null
	 */
Convert a short url to the original full orl
@param {string} shortUrl
@return {string} the plain url if found, else null
Convert a short url to the original full orl @param { string } shortUrl @return { string } the plain url if found else null
fetch(shortUrl) {
		const table = this.table;
		const rec = this.forward[shortUrl];
		if (rec) {
			rec.timeout = getTime() + TIMEOUT;
			this.lastUrl = rec.url;
			this.lastShort = rec.encoded;
			return rec.url;
		} else {
			return null;
		}
	}
fetch ( shortUrl ) { const table = this . table ; const rec = this . forward [ shortUrl ] ; if ( rec ) { rec . timeout = getTime ( ) + TIMEOUT ; this . lastUrl = rec . url ; this . lastShort = rec . encoded ; return rec . url ; } else { return null ; } }
Convert a short url to the original full orl
 @param {string} shortUrl
 @return {string} the plain url if found, else null
Convert a short url to the original full orl @param { string } shortUrl @return { string } the plain url if found else null