UNPKG

rjweb-server

Version:

Easy and Robust Way to create a Web Server with Many Easy-to-use Features in NodeJS

22 lines (21 loc) 546 B
import { Hours } from "../types/context"; export declare const getPreviousHours: () => Hours[]; /** * A Utility used for keeping track of information and parsing it automatically * @example * ``` * const stat = new DataStat(...) * ``` * @since 7.3.0 */ export default class DataStat { private secondStat; stats: Record<'total' | 'perSecond' | Hours, number>; /** * Create a new Data Stat * @since 7.3.0 */ constructor(); /** * Increase a Stat * @since 7.3.0 */ increase(amount?: number): this; }