import { isLeapYear } from "https://deno.land/x/date_fns@v2.0.0-alpha.34/index.js";
Examples
// Is 1 September 2012 in the leap year?
var result = isLeapYear(new Date(2012, 8, 1))
//=> true
// Is 1 September 2012 in the leap year? var result = isLeapYear(new Date(2012, 8, 1)) //=> true