# hijri-converter

> Convert between Hijri (Um Alqura) and Gregorian

Latest version **1.1.1** (published 2018-10-12) · MIT license · 0 weekly downloads

## Install

```sh
npm install hijri-converter
pnpm add hijri-converter
yarn add hijri-converter
bun add hijri-converter
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.1 |
| Published | 2018-10-12 |
| First published | 2018-08-07 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 114.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 17 |
| Author | Dhaifallah Alwadani |
| Maintainers | dalwadani |
| Keywords | Hijri, Gregorian, Converter |

## Links

- npm: https://www.npmjs.com/package/hijri-converter
- Repository: https://github.com/dalwadani/hijri-converter
- Homepage: https://github.com/dalwadani/hijri-converter#readme
- Issues: https://github.com/dalwadani/hijri-converter/issues
- npm.io page: https://npm.io/package/hijri-converter

## Recent versions

- 1.1.1 (latest) — 2018-10-12
- 1.1.0 — 2018-08-09
- 1.0.1 — 2018-08-07
- 1.0.0 — 2018-08-07

## README

# 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
``` Node.js

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

```

---
_Source: https://npm.io/package/hijri-converter · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
