Installation
npm install --save @types/ntp-client
Summary
This package contains type definitions for ntp-client (https://github.com/moonpyk/node-ntp-client).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ntp-client.
export let defaultNtpPort: number;
export let defaultNtpServer: string;
export let ntpReplyTimeout: number;
export function getNetworkTime(
server: string | null | undefined,
port: number | null | undefined,
callback: (err: Error | string | null, date: Date | null) => void,
): void;
export function demo(...argv: any[]): void;
Additional Details
- Last updated: Fri, 10 Nov 2023 18:36:08 GMT
- Dependencies: none
Credits
These definitions were written by Thomas Röggla.