Skip to content

macalinao/temporal-utils

Repository files navigation

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

License

Apache-2.0

About

A collection of TypeScript utilities for the TC39 Temporal proposal.

Resources

License

Stars

13 stars

Watchers

2 watching

Forks

Packages

 
 
 

Contributors