import { isWeekend } from "https://deno.land/x/date_fns@v2.0.0-beta.2/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