import { LRU } from "https://deno.land/x/lru@1.0.2/mod.ts";
LRU main class
Methods
Creates a new array with all elements that pass the test implemented by the provided function
has(key: string): boolean
Returns a boolean indicating whether an element with the specified key exists or not
Method creates a new array populated with the results of calling a provided function on every element in the calling array
Executes a reducer function (that you provide) on each element of the array, resulting in single output value