Meteor Timesync

screenshot of Meteor Timesync
meteor

NTP-style time synchronization between server and client, and facilities to use server time reactively in Meteor applications.

Overview:

The meteor-timesync provides NTP-style time synchronization between server and client in Meteor applications, allowing for accurate timestamps to be used on the client. This package computes and maintains an offset between the server and client, providing facilities to use time reactively within the application. It includes functions for retrieving server time, server offset, round trip time, and syncing with the server.

Features:

  • Time Synchronization: Maintains an offset between server and client for accurate time management.
  • Reactive Time Usage: Allows server timestamps to be used reactively in Meteor applications.
  • Real-Time Updates: Continually updates the server time reactive variable with a default interval of 1 second.
  • Diagnostic Control: Option to enable or disable diagnostic syncing messages on the client.
  • Non-Reactive Context: Provides Deps.nonreactive for non-reactive time computations.
meteor
Meteor

Meteor.js is a full-stack JavaScript platform that simplifies web application development by allowing developers to use a single codebase for both the client and server sides. It provides an integrated set of technologies, including real-time data updates, a reactive templating engine, and a built-in package management system, streamlining the process of building modern and scalable web applications.