New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

proposal-temporal

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

proposal-temporal

Experimental polyfill for the TC39 Temporal proposal

0.9.0
latest
Source
npm
Version published
Weekly downloads
258
-23.44%
Maintainers
1
Weekly downloads
 
Created
Source

Non-Production, Test-Only Temporal Polyfill

A non-production polyfill was built to validate this proposal. This polyfill continues to live in this repo, but only for the purposes of running tests and powering the documentation "playground" as described below. DO NOT use this polyfill in your own projects! Instead, please use a polyfill listed in the table here.

Documentation

Reference documentation and examples can be found here.

A cookbook of common use cases can help you get started with Temporal.

Documentation Playground

When viewing the reference documentation, this non-production polyfill is automatically loaded in your browser. You can experiment with Temporal by opening your browser's developer tools console.

Running Documentation Cookbook as Tests

Documentation cookbook code samples are also runnable as tests.

# Run all cookbook tests (run from /polyfill folder)
$ npm run test-cookbook

# Test one cookbook file (run from /polyfill folder)
$ env TEST=dateTimeFromLegacyDate npm run test-cookbook-one

Keywords

Calendar

FAQs

Package last updated on 09 Jul 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts