Using ultirequiem/leap-year
Utilities for working with Leap Years.
import { leapYearsInRange } from "https://deno.land/x/leap_years_utils/mod.ts";
leapYearsInRange({ min: 2000, max: 2020 }); //=> [ 2004, 2008, 2012, 2016, 2020]
import { leapYearsInRange } from "leap-years-utils";
Eg. ESM โถ SkyPack / script tag โถ JSDelivr.
The API is the same on all this platforms.
Autogenerated Documentation ๐
If you have an idea for a new utility make an issue or a pull request please!
-
leap_year: The core of this package.
-
parse_datelike: Parse a number/string/date to a number/string/date.
-
leap-year-api: A REST API to know if a year is leap or not.
Open an Issue, I will check it a soon as possible ๐
If you want to hurry me up a bit send me a tweet ๐
Consider supporting me on Patreon if you like my work ๐
Don't forget to start the repo โญ
Licensed under the MIT License.