Skip to content

dalwadani/hijri-converter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hijri-converter

This simple package exposes functions to convert between Hijri and Gregorian.

Install

The best way to install and use hijri-converter is with npm or yarn.

npm

$ npm install hijri-converter

yarn

$ yarn add hijri-converter

Usage

import { toHijri, toGregorian } from "hijri-converter";

toHijri(1987,3,1) // convert 1st of March, 1987 to Hijri

toGregorian(1407,7,1) // convert 1st of Rajab, 1407 to Gregorian

About

Convert between Hijri (Um Alqura) and Gregorian

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published