Temporal Utils by Ian Macalinao
    Preparing search index...

    Temporal Utils by Ian Macalinao

    temporal-utils

    A collection of TypeScript utilities for the TC39 Temporal proposal.

    All packages rely on the use of temporal-polyfill. Packages use instanceof checks to determine if a type is supported, so one must ensure to use that exact polyfill.

    For more detailed documentation, see the API docs.

    Package Version Downloads Description
    format-temporal npm downloads Format Temporal objects as localized strings.
    interval-temporal npm downloads An interval type for Temporal, plus helpers for comparing and sorting Temporal objects.
    parse-temporal npm downloads Parse Temporal objects from strings.
    superjson-temporal npm downloads SuperJSON serializers/deserializers for Temporal types.
    temporal-quarter-fns npm downloads Functions for working with quarters in Temporal.
    temporal-zod npm downloads Zod validators for Temporal types.

    Apache-2.0