Skip to content

Latest commit

 

History

History
25 lines (17 loc) · 4.11 KB

README.md

File metadata and controls

25 lines (17 loc) · 4.11 KB

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.

Documentation

For more detailed documentation, see the API docs.

Packages

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-orpc npm downloads oRPC support for Temporal types via temporal-zod.
temporal-quarter-fns npm downloads Functions for working with quarters in Temporal.
temporal-zod npm downloads Zod validators for Temporal types.

License

Apache-2.0