npm.io
0.0.1 • Published yesterday

ponyfill-temporal

Licence
Apache-2.0
Version
0.0.1
Deps
2
Size
83 kB
Vulns
0
Weekly
0
Stars
13

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

Keywords