Security News
The Unpaid Backbone of Open Source: Solo Maintainers Face Increasing Security Demands
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
react-icalendar-link
Advanced tools
Ability to create link for downloading ics file
npm install --save react-icalendar-link
import React from "react";
import ICalendarLink from "react-icalendar-link";
class App extends React.Component {
render() {
const event = {
title: "My Title",
description: "My Description",
startTime: "2018-10-07T10:30:00+10:00",
endTime: "2018-10-07T12:00:00+10:00",
location: "10 Carlotta St, Artarmon NSW 2064, Australia";
}
return (
<ICalendarLink event={event}>
Add to Calendar
</ICalendarLink>;
);
}
}
Currently it provides very few fields. You can provide the raw content for the extra fields instead.
import React from "react";
import ICalendarLink from "react-icalendar-link";
class App extends React.Component {
render() {
const event = {
title: "My Title",
description: "My Description",
startTime: "2018-10-07T10:30:00+10:00",
location: "10 Carlotta St, Artarmon NSW 2064, Australia";
}
const rawContent = `ATTENDEE;CN="Cyrus Daboo";CUTYPE=INDIVIDUAL;PARTSTAT=ACCEPTED:mailto:cyrus@example.com
ATTENDEE;CN="Wilfredo Sanchez Vega";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:wilfredo@example.com
ATTENDEE;CN="Bernard Desruisseaux";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;ROLE=REQ-PARTICIPANT;RSVP=TRUE:mailto:bernard@example.net
ATTENDEE;CN="Mike Douglass";CUTYPE=INDIVIDUAL;PARTSTAT=NEEDS-ACTION;RSVP=TRUE:mailto:mike@example.org`;
return (
<ICalendarLink event={event} rawContent={rawContent}>
Add to Calendar
</ICalendarLink>;
);
}
}
MIT © josephj
FAQs
Ability to create link for downloading ics file
The npm package react-icalendar-link receives a total of 3,493 weekly downloads. As such, react-icalendar-link popularity was classified as popular.
We found that react-icalendar-link demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.
Security News
License exceptions modify the terms of open source licenses, impacting how software can be used, modified, and distributed. Developers should be aware of the legal implications of these exceptions.
Security News
A developer is accusing Tencent of violating the GPL by modifying a Python utility and changing its license to BSD, highlighting the importance of copyleft compliance.