
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
@bitovi/calendar-events
Advanced tools
The @bitovi/calendar-events
package exports a <calendar-events>
custom element that lists events loaded from a google calendar.
Use it like:
<calendar-events
api-key="AIzaSyBsNpdGbkTsqn1BCSPQrjO9OaMySjK5Sns"
calendar-id="jupiterjs.com_g27vck36nifbnqrgkctkoanqb4@group.calendar.google.com"
event-count="3"
show-recurring
></calendar-events>
required
Set this to a google api key.
required
The calendar whose events will be displayed.
The total number of events to display. This defaults to 10
.
If present, this will include recurring events.
The default html output looks like the following:
<calendar-events>
<div class='event-header'>
<div class='event-summary'><a class='event-url event-title'></a></div>
<div class='event-group'></div>
<div class='event-date'></div>
<div class='event-location'></div>
<div class='event-body'></div>
</div>
<div class='event-footer'><a class='event-url'>View Event</a></div>
...
</calendar-events>
You can customize it by adding it to a <template>
within your page:
<calendar-events>
<template>
<a class='event-url'>
<h1 class='event-title'></h1>
<p class='event-body'></p>
</a>
</template>
</calendar-events>
FAQs
custom element that shows a google calendar
We found that @bitovi/calendar-events demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.