
Security News
Cloudflare Introduces a Faster TypeScript Compiler Written in Rust
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.
@time-provider/plugin-dayjs
Advanced tools
Day.js plugin for Time-Provider. Inject time. Control it in tests.
This is the Day.js plugin for Time-Provider.
import { createTimeProvider } from "@time-provider/core";
import { createTimeProvider as createDeterministicTimeProvider } from "@time-provider/core/deterministic";
import { plugin } from "@time-provider/plugin-dayjs";
import { plugin as deterministicPlugin } from "@time-provider/plugin-dayjs/deterministic";
// System: real clock and timers, in the given timezone.
const timeProvider = createTimeProvider.for(plugin).withTimezone("Europe/Paris").create();
timeProvider.clock.localNow(); // a Day.js Dayjs
// Deterministic: a simulated clock that only moves when you move it.
using manual = createDeterministicTimeProvider
.for(deterministicPlugin)
.asManual()
.withInitialTime("2026-01-01T00:00:00.000Z")
.create();
manual.clock.moveBy({ hours: 1 });
manual.clock.utcNow(); // 2026-01-01T01:00:00.000Z
See CHANGELOG.md
FAQs
Day.js plugin for Time-Provider. Inject time. Control it in tests.
We found that @time-provider/plugin-dayjs demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Security News
Cloudflare introduces tsrs, a Rust port of TypeScript’s compiler promising faster checks and lower memory use, with the TypeScript team’s help.

Security News
The PHP Foundation says Chainguard broke a security embargo ahead of critical RCE patches, as leaks disrupted the coordinated release.

Security News
PHP releases emergency patches for two critical RCE vulnerabilities as agencies urge organizations to take unpatched sites offline.