0.0.0 • Published 4 years ago
@ptomato/tc39-temporal v0.0.0
Temporal Polyfill
Polyfill for Proposal: Temporal
Please run the polyfill with Node.js 12 or later.
Import as a Module
You can depend on the unstable Temporal polyfill in your personal projects:
$ npm install --save tc39/proposal-temporal
In code:
import { Temporal } from "proposal-temporal/polyfill/lib/index.mjs";
Node REPL with Temporal
From this directory:
$ npm run playground
Running Cookbook Files
From this directory:
# Run all cookbook files:
$ npm run test-cookbook
# Run a single cookbook file:
$ env TEST=dateTimeFromLegacyDate npm run test-cookbook-one
0.0.0
4 years ago