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

6.1.3 • Public • Published

@hebcal/icalendar

Jewish holidays and Hebrew calendar as iCalendar RFC 2445

Installation

$ npm install @hebcal/icalendar

Synopsis

import {HebrewCalendar, Location} from '@hebcal/core';
import {eventsToIcalendar} from '@hebcal/icalendar';
import fs from 'fs';

const options = {
  year: 2020,
  month: 2,
  sedrot: true,
  candlelighting: true,
  location: Location.lookup('Tel Aviv'),
};
const events = HebrewCalendar.calendar(options);

const str = await eventsToIcalendar(events, {
  locale: 'he',
  ...options,
})

const icalStream = fs.createWriteStream('feed.ics');
icalStream.write(str);
icalStream.close();

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
6.1.35latest

Version History

VersionDownloads (Last 7 Days)Published
6.1.35
6.1.20
6.1.10
6.1.00
6.0.20
6.0.10
5.1.10
5.1.00
5.0.60
5.0.50
5.0.40
5.0.30
5.0.20
5.0.10
5.0.00
4.22.00
4.21.00
4.20.10
4.20.00
4.19.00
4.18.60
4.18.50
4.18.40
4.18.30
4.18.20
4.18.10
4.18.00
4.17.30
4.17.20
4.17.10
4.17.00
4.16.00
4.15.40
4.15.30
4.15.20
4.15.10
4.15.00
4.14.50
4.14.40
4.14.30
4.14.20
4.14.10
4.14.00
4.13.20
4.13.10
4.13.00
4.12.00
4.11.00
4.10.00
4.9.30
4.9.20
4.9.10
4.9.00
4.8.00
4.7.00
4.6.10
4.6.00
4.5.00
4.4.10
4.4.00
4.3.00
4.2.00
4.1.00
4.0.00
3.4.00
3.3.10
3.3.00
3.2.10
3.2.00
3.1.10
3.1.00
3.0.00
2.8.10
2.8.00
2.7.00
2.6.00
2.5.00
2.4.20
2.4.10
2.4.00
2.3.00
2.2.10
2.2.00
2.1.40
2.1.30
2.1.20
2.1.10
2.1.00
2.0.20
2.0.10
2.0.00
1.0.60
1.0.50
1.0.40
1.0.30
1.0.20
1.0.10
1.0.00

Package Sidebar

Install

npm i @hebcal/icalendar

Weekly Downloads

5

Version

6.1.3

License

BSD-2-Clause

Unpacked Size

22.2 kB

Total Files

6

Last publish

Collaborators

  • mjradwin