@time-provider/plugin-temporal
v0.5.2
Published
Time-Provider : Temporal plugin ~ Your single time interface for all your JavaScript / TypeScript projects.
Maintainers
Readme
Time-Provider ~ Temporal plugin
Description
This is the Temporal plugin for Time-Provider.
Notes
This plugin assumes a global Temporal namespace is already available.
As of now, Temporal is a TC39 proposal expected to eventually become a native JavaScript global. Until every environment you target ships it, load a Temporal implementation yourself before using this plugin.
For example, with @js-temporal/polyfill:
import { Temporal } from "@js-temporal/polyfill";
if (!("Temporal" in globalThis)) {
(globalThis as { Temporal?: unknown }).Temporal = Temporal;
}Changelog
See CHANGELOG.md
