JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q51666F
  • License MIT

react-native-nitro-event-kit

Package Exports

  • react-native-nitro-event-kit
  • react-native-nitro-event-kit/lib/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-nitro-event-kit) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

πŸ“… React Native Nitro Event Kit

πŸ”Ή React Native Nitro Event Kit enables seamless access to iOS calendar events in your React Native applications. Fetch local events efficiently using the power of Nitro Modules.


πŸš€ Features

  • πŸ“† Fetch Local Events: Retrieve all events from the user’s iOS calendar.
  • ⚑ Optimized Performance: Built with Nitro for low-latency event retrieval.
  • πŸ”’ Secure Access: Requires user permission for accessing calendar data.
  • πŸ“± Native iOS Integration: Fully leverages iOS CalendarKit for accurate data.

πŸ› οΈ Prerequisites

Before getting started, ensure you have:


πŸ“¦ Installation

Run the following command to install the package:

npm install react-native-nitro-event-kit react-native-nitro-modules

cd ios && pod install

πŸ“ Examples

πŸ“† Fetch Local Events

import { NitroEventKit } from 'react-native-nitro-eventkit'

const fetchEvents = async () => {
  try {
    const events = await NitroEventKit.getLocalEvents()
    console.log('Fetched events:', events)
  } catch (error) {
    console.error('Error fetching calendar events:', error)
  }
}

fetchEvents()