@hebcal/hdate
TypeScript icon, indicating that this package has built-in type declarations

0.13.5 • Public • Published

@hebcal/hdate

converts between Hebrew and Gregorian dates using Rata Die (R.D.) algorithm by Dershowitz and Reingold

Build Status

Installation

$ npm install @hebcal/hdate

Synopsis

import {greg, abs2hebrew} from '@hebcal/hdate';

const date = new Date(2008, 10, 13); // 13 November 2008
const abs = greg.greg2abs(date);
const hdate = abs2hebrew(abs); // {yy: 5769, mm: CHESHVAN, dd: 15}

Package Sidebar

Install

npm i @hebcal/hdate

Weekly Downloads

1,271

Version

0.13.5

License

GPL-2.0

Unpacked Size

256 kB

Total Files

46

Last publish

Collaborators

  • mjradwin