leap-year-utils
v0.1.5
Published
Utilities for working with Leap Years
Downloads
1
Readme
leap_year_utils
Utilities for working with Leap Years.
Usage
The API is the same on all this platforms ✔️
Deno 🦕
import { leapYearsInRange } from "https://deno.land/x/leap_year_utils/mod.ts";
leapYearsInRange(2000, 2020); //=> [ 2004, 2008, 2012, 2016, 2020]
Node.js 🐢🚀
import { leapYearsInRange } from "leap-year-utils";
Browser 🕸
Eg. ESM ▶ SkyPack / script tag ▶ JSDelivr.
Documentation
Is hosted on Deno Doc 📄
Contributing
If you have an idea for a new utility make an issue or a pull request please!
Related
leap_year: The core of this module.
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.
Support
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 ⭐
Licence
MIT License 📄