Skip to main content
Module

x/zoic/src/doublyLinkedLists.ts>Node

A RESTful API-caching middleware library for Oak/Deno
Latest
class Node
import { Node } from "https://deno.land/x/zoic@v1.0.5/src/doublyLinkedLists.ts";

Class definition for linked list containing cached values for both LRU and LFU.

Constructors

new
Node(
key: string,
value: cacheValue,
byteSize: number,
timeStamp: Date,
parent?: FreqNode,
)

Properties

byteSize: number
count: number
key: string
next: Node | null
optional
parent: FreqNode
prev: Node | null
timeStamp: Date
value: cacheValue