get-moment-stamp
Version:
Pure-UTC time math: install it and forget about time zones, DST and host locale. Encodes any instant as two flat integers — whole UTC days since 1970-01-01 and minutes since 00:00 UTC — so cache keys and schedulers stay stable across Docker rebuilds and t
86 lines (85 loc) • 2.21 kB
JSON
{
"name": "get-moment-stamp",
"version": "2.0.0",
"readme": "README.md",
"description": "Pure-UTC time math: install it and forget about time zones, DST and host locale. Encodes any instant as two flat integers — whole UTC days since 1970-01-01 and minutes since 00:00 UTC — so cache keys and schedulers stay stable across Docker rebuilds and tzdata updates.",
"private": false,
"scripts": {
"build": "rollup -c",
"test": "jest --env=jsdom"
},
"author": {
"name": "Petr Tripolsky",
"email": "tripolskypetr@gmail.com",
"url": "https://github.com/tripolskypetr"
},
"license": "MIT",
"homepage": "https://github.com/react-declarative",
"keywords": [
"utc",
"utc-only",
"timezone-independent",
"tz-safe",
"no-dst",
"no-bst",
"scheduler",
"cron",
"cache-key",
"docker-safe",
"deterministic",
"timestamp",
"unixtime",
"date",
"time",
"moment",
"dayjs",
"date-fns",
"immutable",
"lightweight",
"zero-dependency"
],
"repository": {
"type": "git",
"url": "https://github.com/react-declarative/react-declarative",
"documentation": "https://github.com/react-declarative/react-declarative/tree/master/docs"
},
"bugs": {
"url": "https://github.com/react-declarative/react-declarative/issues"
},
"main": "build/index.cjs",
"module": "build/index.mjs",
"source": "src/index.ts",
"types": "./types.d.ts",
"exports": {
"require": "./build/index.cjs",
"types": "./types.d.ts",
"import": "./build/index.mjs",
"default": "./build/index.cjs"
},
"licenses": [
{
"type": "MIT",
"url": "https://github.com/react-declarative/react-declarative#license"
}
],
"files": [
"build",
"types.d.ts",
"README.md"
],
"devDependencies": {
"@types/jest": "29.1.2",
"@rollup/plugin-typescript": "11.1.6",
"@types/node": "22.9.0",
"rollup": "3.29.4",
"rollup-plugin-dts": "6.1.1",
"rollup-plugin-peer-deps-external": "2.2.4",
"tslib": "2.7.0",
"jest": "29.1.2",
"jest-environment-jsdom": "29.5.0",
"ts-jest": "29.0.3"
},
"peerDependencies": {
"typescript": "^5.0.0"
}
}