Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
google-calendar-url
Advanced tools
Readme
Generate shareable URLs for adding Google Calendar events.
Written in TypeScript and includes type definitions.
Try it in a CodeSandbox.
yarn add google-calendar-url
# or
npm install google-calendar-url --save
import { googleCalendarEventUrl } from 'google-calendar-url';
const url = googleCalendarEventUrl({
start: '20201212T100000Z',
end: '20201212T110000Z',
title: 'Event title',
details: 'Event details',
location: 'San Francisco',
});
console.log(url);
// https://calendar.google.com/calendar/event?action=TEMPLATE&dates=20201212T100000Z%2F20201212T110000Z&text=Event+title&details=Event+details&location=San+Francisco
The googleCalendarEventUrl
function takes a single GoogleCalendarEventArgs
argument.
interface GoogleCalendarEventArgs {
/**
* Start of event, acceptable formats are:
*
* 20200316T010000Z - UTC
*
* 20200316T010000 - Time local to the user
*
* 20200316 - All day event
*/
start?: string;
/**
* End of event, acceptable formats are:
*
* 20200316T010000Z - UTC
*
* 20200316T010000 - Time local to the user
*
* 20200316 - All day event
*/
end?: string;
/** Event title */
title?: string;
/** Event location */
location?: string;
/** Event details */
details?: string;
}
FAQs
Generate shareable URLs for adding Google Calendar events
The npm package google-calendar-url receives a total of 284 weekly downloads. As such, google-calendar-url popularity was classified as not popular.
We found that google-calendar-url 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.