@ilihub/year-to-hour
v1.0.1
Published
TypeScript functions for converting year to hour.
Downloads
23
Maintainers
Readme
@ilihub/year-to-hour
TypeScript functions for converting year to hour.
Installation
# if you're using pnpm
pnpm add @ilihub/year-to-hour
# or, if you're using npm
npm install @ilihub/year-to-hour
# or, if you're using yarn
yarn add @ilihub/year-to-hour
Usage
import { YearToHour } from "@ilihub/year-to-hour";
const year = 1;
const hour = YearToHour(year);
console.log(hour); // 8760
🛠️ Online Tool ⚡
You can use this npm package as an online tool by clicking on the link provided 👉🏻 here 👈🏻
Sponsors & Backers
Support the development of new open-source projects from ilihub through crowdfunding.
The core of ilihub is our crowd-funded open-source projects, licensed under the permissive MIT license. Sponsorship increases the rate of bug fixes, documentation improvements, and feature development.