taqwim-core-utils
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

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 }

Docs

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.1.111latest

Version History

VersionDownloads (Last 7 Days)Published
0.1.111
0.1.00
0.1.0-beta.20
0.1.0-beta.10
0.0.1-beta.20
0.0.1-beta.00
0.0.1-alpha.120
0.0.1-alpha.110
0.0.1-alpha.100
0.0.1-alpha.90
0.0.1-alpha.80
0.0.1-alpha.70
0.0.1-alpha.60
0.0.1-alpha.50
0.0.1-alpha.40

Package Sidebar

Install

npm i taqwim-core-utils

Weekly Downloads

11

Version

0.1.1

License

MIT

Unpacked Size

114 kB

Total Files

45

Last publish

Collaborators

  • boussadjra