@nopilot/tz-engine
v1.0.0
Published
Deterministic timezone toolkit: instant & wall-clock conversion with DST gap/overlap classification, per-year DST transition lists, cross-timezone meeting-window search. Pure local computation, zero network.
Maintainers
Readme
@nopilot/tz-engine
Deterministic timezone toolkit: instant & wall-clock conversion with DST
gap/overlap classification (normal / ambiguous / gap), per-year DST
transition lists (handles 30-minute Lord Howe and 45-minute Chatham deltas),
and cross-timezone meeting-window search. Pure local computation against the
IANA tzdata bundled with your Node.js runtime — zero network, zero LLM.
import { convertInstant, convertLocalTime, dstTransitions, meetingWindows } from '@nopilot/tz-engine';
convertInstant('2026-06-15T12:00:00Z', ['Asia/Kathmandu']); // +05:45
convertLocalTime({ localTime: '2026-03-08T02:30', from: 'America/New_York', targets: ['UTC'] }); // status: 'gap'
dstTransitions('America/New_York', 2026); // 03-08 forward, 11-01 backward
meetingWindows({ participants: ['Asia/Shanghai', 'Europe/London'], date: '2026-06-15' });Built on luxon (MIT).
MIT license. Part of the temporal-tools family — see the repo README for the MCP server that exposes this engine.
