![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
@hebcal/icalendar
Advanced tools
Readme
Jewish holidays and Hebrew calendar as iCalendar RFC 2445
$ npm install @hebcal/icalendar
import {HebrewCalendar, Location} from '@hebcal/core';
import icalendar from '@hebcal/icalendar';
const options = {
year: 2020,
month: 2,
sedrot: true,
candlelighting: true,
location: Location.lookup('Hawaii'),
};
const events = HebrewCalendar.calendar(options);
console.log(icalendar.eventsToIcalendar(ev, options));
Main interface to hebcal/icalendar
Intl.DateTimeFormat
string
number
string
string
Get offset string (like "+05:00" or "-08:00") from tzid (like "Europe/Moscow")
string
Returns just the date portion as YYYY-MM-DD
string
Returns a string like "2018-09-01T12:30:00-05:00'"
Array.<string>
Returns a category and subcategory name
string
string
string
Returns UTC string for iCalendar
string
string
string
Renders an Event as a string
Object
Converts a Hebcal event to a FullCalendar.io object
Main interface to hebcal/icalendar
Intl.DateTimeFormat
Kind: global function
Param | Type |
---|---|
tzid | string |
string
Kind: global function
Param | Type |
---|---|
tzid | string |
date | Date |
number
Kind: global function
Param | Type |
---|---|
tzid | string |
date | Date |
string
Kind: global function
Param | Type |
---|---|
number | number |
string
Get offset string (like "+05:00" or "-08:00") from tzid (like "Europe/Moscow")
Kind: global function
Param | Type |
---|---|
tzid | string |
date | Date |
string
Returns just the date portion as YYYY-MM-DD
Kind: global function
Param | Type |
---|---|
d | Date |
string
Returns a string like "2018-09-01T12:30:00-05:00'"
Kind: global function
Param | Type | Description |
---|---|---|
date | Date | |
timeStr | string | must be formatted with only hours and minutes, like "17:12" |
tzid | string | like "America/New_York" |
Array.<string>
Returns a category and subcategory name
Kind: global function
Param | Type |
---|---|
ev | Event |
Kind: global function
Param | Type |
---|---|
res | stream.Writable |
...str | string |
string
Kind: global function
Param | Type |
---|---|
d | Date |
string
Kind: global function
Param | Type |
---|---|
hour | number | string |
min | number | string |
sec | number | string |
string
Returns UTC string for iCalendar
Kind: global function
Param | Type |
---|---|
dt | Date |
Kind: global function
Param | Type |
---|---|
res | stream.Writable |
e | Event |
dtstamp | string |
options | hebcal.HebcalOptions |
Kind: global function
Param | Type |
---|---|
arr | Array.<string> |
key | string |
val | string |
string
Kind: global function
Returns: string
- multi-line result, delimited by \r\n
Param | Type |
---|---|
e | Event |
options | hebcal.HebcalOptions |
Kind: global function
Param | Type |
---|---|
res | stream.Writable |
mimeType | string |
fileName | string |
Kind: global function
Param | Type |
---|---|
res | stream.Writable |
events | Array.<Event> |
options | hebcal.HebcalOptions |
string
Kind: global function
Param | Type |
---|---|
options | hebcal.HebcalOptions |
string
Renders an Event as a string
Kind: global function
Param | Type |
---|---|
e | Event |
options | hebcal.HebcalOptions |
Kind: global function
Param | Type |
---|---|
res | stream.Writable |
events | Array.<Event> |
options | hebcal.HebcalOptions |
Object
Converts a Hebcal event to a FullCalendar.io object
Kind: global function
Param | Type | Description |
---|---|---|
ev | Event | |
tzid | string | timeZone identifier |
FAQs
Jewish holidays and Hebrew calendar as iCalendar RFC 2445
The npm package @hebcal/icalendar receives a total of 66 weekly downloads. As such, @hebcal/icalendar popularity was classified as not popular.
We found that @hebcal/icalendar demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.