0.1.0 • Published 11 months ago

taqwim-core-utils v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

Taqwim

Overview

Taqwim provides a collection of utilities and components designed for managing Hijri dates in frontend applications. It includes a Hijri date converter, handler, and format, it uses the Umm al-Qura calendar system and date-fns library.

Installation

npm install taqwim-core-utils

Usage

import { toHijri } from 'taqwim-core-utils'

const gregorianDate = new Date('2024-03-11')

const hijriDate = toHijri(gregorianDate)

console.log(hijriDate) // { hy: 1445, hm:9, hd: 1 }

API

0.1.0

11 months ago

0.1.0-beta.2

12 months ago

0.1.0-beta.1

12 months ago

0.0.1-beta.2

12 months ago

0.0.1-beta.0

12 months ago

0.0.1-alpha.12

1 year ago

0.0.1-alpha.11

1 year ago

0.0.1-alpha.10

1 year ago

0.0.1-alpha.9

1 year ago

0.0.1-alpha.8

1 year ago

0.0.1-alpha.7

1 year ago

0.0.1-alpha.6

1 year ago

0.0.1-alpha.5

1 year ago

0.0.1-alpha.4

1 year ago