import { isWeekend } from "https://deno.land/x/date_fns@v2.12.0/index.js";
Examples
// Does 5 October 2014 fall on a weekend?
var result = isWeekend(new Date(2014, 9, 5))
//=> true
// Does 5 October 2014 fall on a weekend? var result = isWeekend(new Date(2014, 9, 5)) //=> true