{"_id":"@ordermentum/samay","_rev":"37-05e08f9187932cb3b0775eebb44fc135","name":"@ordermentum/samay","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.1":{"name":"@ordermentum/samay","version":"1.0.1","author":{"name":"Anoop Varghese"},"license":"MIT","_id":"@ordermentum/samay@1.0.1","maintainers":[{"name":"ordermentumeng","email":"brainstrust@ordermentum.com"}],"dist":{"shasum":"19992014bfff456e1340967662d9f8961e9e0ca4","tarball":"https://registry.npmjs.org/@ordermentum/samay/-/samay-1.0.1.tgz","integrity":"sha512-abDaomyAUeQVyXkpleryv3LB2CQ+9tfAkNQpLBj65uZAozKJLNAxgW34Qt5x3KxDNVSF/8nmx3Jj8dw7Ox4cZA==","signatures":[{"sig":"MEQCIGhSLmKImQXW2E++ktV4lAzInfzI8po/9RGm9cMC8wgAAiB8zHAhDxuVsweAa7eA6L44Bzewe+lkxdBE3WGqubExUQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"33d547f7e3cff3ca0b436a1a5b3b6e254fa346fe","scripts":{"lint":"eslint index.js test","spec":"mocha test/*.*"},"_npmUser":{"name":"ordermentumeng","email":"brainstrust@ordermentum.com"},"_npmVersion":"5.0.3","description":"Wrapper for manipulating time with timezone offsets","directories":{},"_nodeVersion":"8.1.2","dependencies":{"moment-timezone":"^0.5.13"},"devDependencies":{"chai":"^4.0.2","mocha":"^3.4.2","eslint":"^4.0.0","eslint-plugin-node":"^5.0.0","eslint-plugin-import":"^2.5.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.1","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/samay-1.0.1.tgz_1498165836036_0.9304994810372591","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@ordermentum/samay","version":"1.0.2","author":{"name":"Anoop Varghese"},"license":"Apache-2.0","_id":"@ordermentum/samay@1.0.2","maintainers":[{"name":"ordermentumbot","email":"engineering@ordermentum.com"},{"name":"ordermentumeng","email":"brainstrust@ordermentum.com"}],"homepage":"https://github.com/ordermentum/samay#readme","bugs":{"url":"https://github.com/ordermentum/samay/issues"},"dist":{"shasum":"10116effeb927614129c216a1ffab28a2be70aac","tarball":"https://registry.npmjs.org/@ordermentum/samay/-/samay-1.0.2.tgz","integrity":"sha512-Cv4DwPNNOLpyGtjtO3Cw9mI2bYcoSsJgkntrzDjcNPXlPYYl8fr4iHkxNXPdo05MbjUE7+P6pI/x22z8myxrOA==","signatures":[{"sig":"MEUCIQD6OYk2HqevIb8hkWmJCWLznboFTo7H33zRYuqtWB3PvAIgFGIRHPTdNeDbABypy9FIgYMxX/SCtk/gKO6X1kt+csw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"index.js","gitHead":"99133088045340e7037583919f3c1bab09336097","scripts":{"lint":"eslint index.js test","spec":"mocha test/*.*"},"_npmUser":{"name":"ordermentumeng","email":"brainstrust@ordermentum.com"},"repository":{"url":"git+ssh://git@github.com/ordermentum/samay.git","type":"git"},"_npmVersion":"5.0.3","description":"Wrapper for manipulating time with timezone offsets","directories":{},"_nodeVersion":"8.1.2","dependencies":{"moment-timezone":"^0.5.13"},"devDependencies":{"chai":"^4.0.2","mocha":"^3.4.2","eslint":"^4.0.0","eslint-plugin-node":"^5.0.0","eslint-plugin-import":"^2.5.0","eslint-plugin-promise":"^3.5.0","eslint-config-standard":"^10.2.1","eslint-plugin-standard":"^3.0.1"},"_npmOperationalInternal":{"tmp":"tmp/samay-1.0.2.tgz_1498166955904_0.6867542250547558","host":"s3://npm-registry-packages"}}},"time":{"created":"2017-06-22T21:10:36.144Z","modified":"2026-10-01T06:07:36.932Z","1.0.1":"2017-06-22T21:10:36.144Z","1.0.2":"2017-06-22T21:29:16.253Z"},"bugs":{"url":"https://github.com/ordermentum/samay/issues"},"author":{"name":"Anoop Varghese"},"license":"Apache-2.0","homepage":"https://github.com/ordermentum/samay#readme","repository":{"url":"git+ssh://git@github.com/ordermentum/samay.git","type":"git"},"description":"Wrapper for manipulating time with timezone offsets","maintainers":[{"email":"phil.manansala@ordermentum.com","name":"philorder"},{"email":"sugendran.ganess@ordermentum.com","name":"sugendran.ordermentum"},{"email":"brainstrust@ordermentum.com","name":"ordermentumeng"},{"email":"anne.pascual@ordermentum.com","name":"annepascual"},{"email":"syed.masood@ordermentum.com","name":"sgmasoodom"},{"email":"karlo.nicomedes@ordermentum.com","name":"karlo-ordermentum"},{"email":"alex.sykes@ordermentum.com","name":"a-sykes"},{"email":"jfabianzarsuela@gmail.com","name":"jfabian006ph"},{"email":"hooperarma@gmail.com","name":"safetymarcus"},{"email":"richard.bell@ordermentum.com","name":"richardbe11"},{"email":"me@brandonjc.com","name":"bcook98"},{"email":"ishmeet.singh@ordermentum.com","name":"ishmeet-ordermentum"},{"email":"meng.xu@ordermentum.com","name":"om-mengxu"},{"email":"naitik.hingu@ordermentum.com","name":"naitikhingu-ordermentum"},{"email":"michael.elliott@ordermentum.com","name":"michaelelliottom"},{"email":"tristan@tristandavey.com","name":"tjdavey"},{"email":"peggy.liu@ordermentum.com","name":"pegzom"},{"email":"ronak.amani@ordermentum.com","name":"ronak_amani"}],"readme":"### Timezone Helper\n\n#### How to use?\n\n```javascript\nconst samay = require('@ordermentum/samay');\n\nlet timestamp = timezone('Australia/Sydney');\nconst date = new Date(); // 2017-06-22T07:46:38.277Z\nconsole.log(timestamp(new Date(), 'DD/MM/YYYY h:mm:ss a')); // 22/06/2017 5:46:38 pm\n\ntimestamp = timezone('Blaah');\nconsole.log(timestamp(new Date(), 'DD/MM/YYYY h:mm:ss a')); // null\n\nconsole.log(samay('Asia/Tokyo')(date, 'DD/MM/YYYY h:mm:ss [at] a')) // 22/06/2017 at 4:46:38 pm\n```","readmeFilename":"README.md"}