{"_id":"@bongione/tz-offset","_rev":"2-42f33f3f3776f92ba56e947b51cfb3c3","name":"@bongione/tz-offset","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@bongione/tz-offset","version":"0.0.1","description":"Simple functions to calculate the offset of instant in times","main":"./dist/index.js","scripts":{"genData":"ts-node ./scripts/genZonesData.ts","test":"tsc --noEmit && jest","build":"rm -rf dist/* && npm run build:types && npm run build:transpile","build:transpile":"babel src --ignore \"src/**/.git*\" --extensions \".ts\" --out-dir dist --source-maps","build:types":"tsc --emitDeclarationOnly","prepublishOnly":"npm run test && npm run build"},"types":"./dist/index.d.ts","keywords":["timezones","dates","typescript","javascript"],"author":{"name":"Paolo F. Bongiovanni","email":"paolo.bongiovanni@mindiply.com"},"license":"MIT","devDependencies":{"@babel/cli":"^7.16.0","@babel/core":"^7.16.0","@babel/plugin-proposal-class-properties":"^7.16.0","@babel/plugin-proposal-object-rest-spread":"^7.16.0","@babel/preset-env":"^7.16.0","@babel/preset-typescript":"^7.16.0","@babel/register":"^7.16.0","@types/jest":"^27.0.2","@types/node":"^16.11.6","jest":"^27.3.1","prettier":"^2.4.1","ts-jest":"^27.0.7","ts-node":"^10.4.0","typescript":"^4.4.4"},"_id":"@bongione/tz-offset@0.0.1","_nodeVersion":"16.0.0","_npmVersion":"7.24.2","dist":{"integrity":"sha512-tjvcvjx7IZ1xsg5maVWhk1w43wVdCB08sAMwOQhrw+ZKaLKkJNRm81mhnrTXymMlzD8o9DWdce/Phje+U6FPDg==","shasum":"1d9b0cdb584f41a03b90deb185ff63062e40a1d0","tarball":"https://registry.npmjs.org/@bongione/tz-offset/-/tz-offset-0.0.1.tgz","fileCount":18,"unpackedSize":776113,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzZcUCRA9TVsSAnZWagAAvccP/R6Us8jTHkzKNoqd2RXs\n+ETCNrfQJ+K9iLUkHuS1cLtVL651AxhTW6rq0J79mp6CR1zJCnci8fr3Fsqq\niTgQSXcv8BIRqgblSdazic3YS8luNi9MHsHZraW663KhiT9/Sxc5Iie000m3\nq/CjtbpAlszELW/wmFT1+8AYjh3XvaAquSZ/t/Yl5QdO2/jdZjiozJ9sz8fg\nLeTYjTDJDoQ5D73Bo2nhTfw1JtzHXrFu/Y6ndX34WyuyTUsfNNUTHWncbVBR\ng4emRAvRH0F619MzZsaUnKm2SG1fBzWV50K/NgJISEwm1rF4U2pTpOB+WlPQ\nnMWzr/bfzmkFG+bohSQaCM8m0vQ+Mg3pqcFZ8sTcKFjXXCDI0OYuJ95U7gJh\nWs0A4walA/kTmkRJiQWdOjPfzWg8gEpq6c/aRF+3XGgE6bYLsx94lGpBYF3Q\nlASdiiSZKlpjz7/DeZEpmFRzmvUAk+rH8Y3nLek4/cuSHVz6ptMdKfLhCMOs\nnuBE+tYw8w6Hzek+G5owzBa5SmXA/R9tolN4Z/PzzO38ZWidxfME3lkKKALg\nV3JVbAU+ZxwRLfncVCCXC7fEzpI53u408HMLMjMzpz56+PGxQQUJZHqQxLuZ\nYeu7rwWUnyapAS1LHyzFe/QnJqdao96ZI5X2lNXcEy1fz4cZJQVjmDgRXZEx\nR+Ja\r\n=35tx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDuyYhtn7IW1ZqcIEb712dGJNcpqxY53RCP74MGNsJEfAIgDyP8YJ9uWZiUyD4ZW6UVB1X7PmJbxLbieAsSzzLvtDM="}]},"_npmUser":{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"},"directories":{},"maintainers":[{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/tz-offset_0.0.1_1635866276392_0.7806089032199508"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-02T15:17:56.391Z","0.0.1":"2021-11-02T15:17:56.562Z","modified":"2022-04-04T20:06:13.881Z"},"maintainers":[{"name":"bongione","email":"paolo.bongiovanni@mindiply.com"}],"description":"Simple functions to calculate the offset of instant in times","keywords":["timezones","dates","typescript","javascript"],"author":{"name":"Paolo F. Bongiovanni","email":"paolo.bongiovanni@mindiply.com"},"license":"MIT","readme":"# tz-offset\n\nProvides a single function to know the offset (in minutes) of a certain timezone at an instant in time,\nrepresented as number of milliseconds since the epoch:\n\n\n        timezoneOffset(ianaTimezone: string, millisFromEpoch: number): number\n\nFor Asia x minutes ahead of UTC, for America x seconds behind UTC (negative).\n\nFor timezones that are not recognized, we throw an exception.\n\nThe library uses the IANA datasets as published by [moment-timezone](https://www.npmjs.com/package/moment-timezone).\n\n## Licence\nMIT\n","readmeFilename":"README.md"}