npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@shadahmad7/react-native-calendar

v0.0.7

Published

React Native Calendar TurboModule for iOS and Android. This library provides a fully native calendar module for React Native CLI apps, migrated from Expo Calendar, allowing direct access to device calendars, events, and reminders without requiring Expo. S

Readme

@shadahmad7/react-native-calendar

React Native Calendar TurboModule for iOS and Android.

This library provides a fully native calendar module for React Native CLI apps, migrated from Expo Calendar. It allows direct access to device calendars, events, and reminders without requiring Expo. Supports creating, updating, deleting, and fetching events with proper timezone handling for both Android and iOS.


Features

  • Fully native calendar module
  • iOS & Android support
  • Handles timezones correctly
  • Create, update, delete, and fetch events and reminders
  • Migrated from Expo Calendar

Installation

Using npm

npm install @shadahmad7/react-native-calendar

Using Yarn

yarn add @shadahmad7/react-native-calendar

Usage

import Calendar from "@shadahmad7/react-native-calendar";

// Save a new event
const startDate = new Date();
const endDate = new Date(Date.now() + 60 * 60 * 1000); // +1 hour

const result = await Calendar.saveEvent({
  title: "Meeting",
  startDate: startDate.getTime().toString(),
  endDate: endDate.getTime().toString(),
  notes: "Team discussion",
  location: "Conference Room",
  allDay: false,
});
console.log(result);

// Fetch events
const events = await Calendar.getEventsAsync(
  new Date().toISOString(),
  new Date(Date.now() + 24 * 60 * 60 * 1000).toISOString()
);
console.log(events);

Permissions

iOS

Add the following keys to your Info.plist:

<key>NSCalendarsFullAccessUsageDescription</key>
<string>This app needs access to your calendar to view, create, and edit events.</string>
<key>NSCalendarsUsageDescription</key>
<string>This app needs access to your calendar to view, create, and edit events.</string>
<key>NSRemindersUsageDescription</key>
<string>This app may access reminders for scheduling and notifications.</string>

Android

Add the following permissions to your AndroidManifest.xml:

<uses-permission android:name="android.permission.READ_CALENDAR" />
<uses-permission android:name="android.permission.WRITE_CALENDAR" />

API

Events

  • saveEvent(event: CalendarEvent): Create or update an event
  • deleteEvent(eventId: string): Delete an event
  • getEventsAsync(startDate: string, endDate: string, calendarIds?: string[]): Fetch events
  • getEventByIdAsync(eventId: string): Fetch a single event

Reminders (iOS only)

  • getRemindersAsync(): Fetch reminders
  • saveReminderAsync(reminder: CalendarReminder): Save a reminder
  • deleteReminderAsync(reminderId: string): Delete a reminder

Calendars

  • getCalendarsAsync(): Get all calendars
  • getDefaultCalendarAsync(): Get the default calendar

Permissions

  • requestCalendarPermission(): Request calendar permission
  • requestReminderPermission(): Request reminder permission (iOS only)