Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
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",
attendees: [
"Hello World <hello@world.com>",
"Hey <hey@test.com>",
]
}
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 2,159 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
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.