1.1.1 • Published 6 years ago

hijri-converter v1.1.1

Weekly downloads
466
License
MIT
Repository
github
Last release
6 years ago

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

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

6 years ago

1.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago