ntp-time-sync
Version:
Fetches the current time from NTP servers and returns offset information
49 lines (48 loc) • 1.04 kB
JSON
{
"name": "ntp-time-sync",
"version": "0.5.0",
"description": "Fetches the current time from NTP servers and returns offset information",
"main": "dist/index.js",
"dependencies": {
"ntp-packet-parser": "^0.5.0"
},
"devDependencies": {
"@types/node": "^18 || ^20 || ^22",
"prettier": "3.5.3",
"ts-node": "10.9.2",
"typescript": "5.8.3"
},
"scripts": {
"prepublishOnly": "yarn prettier:lint && yarn build",
"build": "tsc",
"prettier": "prettier --write src/**/*.ts",
"prettier:lint": "prettier --list-different src/**/*.ts"
},
"keywords": [
"ntp",
"clock",
"sync",
"parser",
"udp",
"time"
],
"author": "Laurens Stötzel",
"repository": {
"type": "git",
"url": "https://github.com/buffcode/ntp-time-sync.git"
},
"files": [
"dist",
"src",
"package.json",
"tsconfig.json"
],
"license": "GPL-3.0",
"prettier": {
"printWidth": 120,
"trailingComma": "es5"
},
"engines": {
"node": "^18 || ^20 || ^22"
}
}