Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
calendar-link
Advanced tools
[![Travis](https://img.shields.io/travis/AnandChowdhary/calendar-link.svg)](https://travis-ci.org/AnandChowdhary/calendar-link) [![Coverage Status](https://coveralls.io/repos/github/AnandChowdhary/calendar-link/badge.svg?branch=master)](https://coveralls.
JavaScript library to generate an event link for Google Calendar, Yahoo! Calendar, Microsoft Outlook, etc.
import { google, outlook, yahoo, ics } from "calendar-link";
// Set event as an object
const event = {
title: "My birthday party",
description: "Be there!",
start: "2019-12-29 18:00:00 +0100",
duration: [3, "hour"]
};
// Then fetch the link
google(event); // https://calendar.google.com/calendar/render...
outlook(event); // https://outlook.live.com/owa/...
yahoo(event); // https://calendar.yahoo.com/?v=60&title=...
ics(event); // standard ICS calendar base on https://icalendar.org/
Property | Description | Allowed values |
---|---|---|
title 👍 | Event title | String |
start 👍 | Start time | JS Date / ISO 8601 string / Unix Timestamp |
end 🤙 | End time | JS Date / ISO 8601 string / Unix Timestamp |
duration 🤙 | Event duration | Array with value (Number) and unit (String) |
allDay 🤙 | All day event | Boolean |
description 👌 | Information about the event | String |
location 👌 | Event location in words | String |
busy 👌 | Mark on calendar as busy? | Boolean |
guests 🤞 | Emails of other guests | Array of emails (String) |
url 🤞 | Calendar document URL | String |
The duration
field is ignored if allDay
is used.
The url
field defaults to document.URL
if a document global exists.
Emoji | Meaning |
---|---|
👍 | Required |
🤙 | Any one is required |
👌 | Supported but not required |
🤞 | Not all calendars support |
MIT © Anand Chowdhary
Thanks goes to these wonderful people (emoji key):
Anand Chowdhary 💻 📖 | Harry Lachenmayer 💻 📖 | Alexandru-Ionut Imbrea 💻 | Kamran Gh 💻 | Paul Hebert 🐛 💻 | Osman Mazinov 📖 | Bob Ippolito 💻 📖 |
This project follows the all-contributors specification. Contributions of any kind welcome!
FAQs
📅 Calendar link generator for popular services, like Google, Outlook, and Yahoo.
The npm package calendar-link receives a total of 60,324 weekly downloads. As such, calendar-link popularity was classified as popular.
We found that calendar-link 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.