dailySuidoLevelfunction
The level of the day at a size: a whole number from 1 to that size's count of levels, or null for a size there are no levels of. It ignores which blocks a player has opened: today's level is open to everybody.
Import it
import { dailySuidoLevel } from "@johnmorrisdotca/suido/levels";
Also exported from: @johnmorrisdotca/suido/levels-info
Definition
function dailySuidoLevel(size: string, date: string | Date): number | null
Parameters
| Name | Type | Description |
|---|---|---|
size | string | The native widthxheight size string, such as 5x5. |
date | string | Date | A UTC Date or valid YYYY-MM-DD string. |
Returns
number | null
The level of the day at a size: a whole number from 1 to that size's count of levels, or null for a size there are no levels of. It ignores which blocks a player has opened: today's level is open to everybody.
Examples
import { dailySuidoLevel } from "@johnmorrisdotca/suido/levels";
console.log(dailySuidoLevel("5x5","2026-10-12"));250What it prints (run when this page was built)