We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcbf8c1 commit 3def72dCopy full SHA for 3def72d
README.md
@@ -1,2 +1,18 @@
1
-# hdate-js
+# @hebcal/hdate
2
converts between Hebrew and Gregorian dates
3
+
4
+[](https://github.com/hebcal/hdate-js/actions/workflows/node.js.yml)
5
6
+# Installation
7
+```bash
8
+$ npm install @hebcal/hdate
9
+```
10
11
+## Synopsis
12
+```javascript
13
+import {greg, abs2hebrew} from '@hebcal/hdate';
14
15
+const date = new Date(2008, 10, 13); // 13 November 2008
16
+const abs = greg.greg2abs(date);
17
+const hdate = abs2hebrew(abs); // {yy: 5769, mm: CHESHVAN, dd: 15}
18
0 commit comments