Skip to content

Provides standard objects and functions for working with dates and times.

License

Notifications You must be signed in to change notification settings

talensjr/proposal-temporal

 
 

Repository files navigation

@talensjr/proposal-temporal

This is a fork of the Temporal proposal for ECMAScript, which is currently at Stage 3 in TC39.

Motivation

As stated in the original repository, this is not intended to run in production, so they recommend two alternative libraries, but none of those are up to date with the latest changes in the proposal as per the time of writing this.

So, I decided to fork the proposal and make it available as a package for those who want to try it out.

Installation

  • Using npm:
npm install @talensjr/proposal-temporal
  • Using yarn:
yarn add @talensjr/proposal-temporal
  • Using pnpm:
pnpm add @talensjr/proposal-temporal

Usage

import '@talensjr/proposal-temporal';

The library provides a global Temporal object, which is the entry point for the Temporal API.

Caveats

This is a big package (220+ KB) and not optimized for production, use it as your own risk.

Mantainance

I'll try to keep this package up to date with the latest changes in the original proposal, but I can't guarantee it.

About

Provides standard objects and functions for working with dates and times.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • HTML 62.2%
  • JavaScript 37.7%
  • Shell 0.1%