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

@sebse-tools/ics-parser

v2.0.1

Published

Full RFC 5545 iCalendar implementation. Parse, prepare, expand, and query .ics data with complete RRULE support, DST-aware timezone resolution, and serialize/deserialize caching

Readme

@sebse-tools/ics-parser

version repo

Full RFC 5545 iCalendar implementation. Parse, prepare, expand, and query .ics data with complete RRULE support, DST-aware timezone resolution, and serialize/deserialize caching

This package is a complete TypeScript implementation of RFC 5545 for parsing, preparing, and querying iCalendar (.ics) data. It exposes a low-level, composable API that can be consumed by any application needing structured calendar event data.

Key Features

  • Two-Phase Processing: prepare() parses raw ICS strings into a structured PreparedIcs object (VEVENT components + timezone map). getEventsBetween() then expands that data for a given UTC time range — enabling efficient caching between the two steps.
  • Serialize / Deserialize: serialize() and deserialize() convert PreparedIcs to/from JSON, allowing prepared data to be stored and reloaded without re-parsing.
  • Full RFC 5545 RRULE Expansion: Recurring events are expanded via a generator-based engine with complete support for FREQ, INTERVAL, COUNT, UNTIL, BYDAY, BYMONTHDAY, BYMONTH, BYWEEKNO, BYYEARDAY, BYSETPOS, WKST, RDATE, and EXDATE.
  • DST-Aware Timezone Resolution: VTIMEZONE components are processed into transition tables. UTC offsets are resolved correctly across DST boundaries, including ambiguous (fall-back) and non-existent (spring-forward) local times.
  • Windows Timezone Support: Non-IANA timezone identifiers (e.g., Eastern Standard Time) are resolved to IANA equivalents via windows-iana.
  • Unexpanded Event Access: getUnexpandedEvents() returns parsed but non-expanded events — useful for search without generating all recurrence instances.
  • RFC 5545 Exception Handling: Recurring event overrides (RECURRENCE-ID) and exclusions (EXDATE) are correctly applied per UID group during full calendar expansion.

Recent Changes

Version 2.0.0

  • 6e9bfb2: rename monorepo and unscope n8n package

Version 1.0.2

  • 288bd1d: remove redundant .gitignore and format readme

Version 1.0.1

  • 942044b: update tests to pass random number generator

Authors

  • sebse

License

This project is licensed under the AGPL-3.0-only License. See the LICENSE file for details.