{"_id":"24hto12hformat","_rev":"9-64b94589984d549e80c21b85df7d407b","name":"24hto12hformat","dist-tags":{"latest":"0.0.6"},"versions":{"0.0.1":{"name":"24hto12hformat","version":"0.0.1","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"eab94ff3a84e9ab80fc23e5873c4f1434d1180b3","_id":"24hto12hformat@0.0.1","_shasum":"ed0d40f5d15a4dd2f9331aea999981e2d884e517","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"shasum":"ed0d40f5d15a4dd2f9331aea999981e2d884e517","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.1.tgz","fileCount":9,"unpackedSize":65624,"integrity":"sha512-KkDWdT3W5d9amHMRdZomST0lprsD71iz0cO1Pzgu9beQvHx3b8lVzaN2xIoOcxzvXf9m5ByrNMJfHKUGhiMVQg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD6RlI8FocUTxdnnjoFKmBCsFw/KsFqApFKU35nWQleSgIgTMaNpR18zUyYBPfdaGDaIqEuFhr52fwNcE1lH9tm8XI="}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.1_1522762701552_0.855479521294132"},"_hasShrinkwrap":false},"0.0.2":{"name":"24hto12hformat","version":"0.0.2","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"27660b272e194d0859b9cd76dbdd0e86cdf5f8a0","_id":"24hto12hformat@0.0.2","_shasum":"1d098d8361b5b677f8822273266540b69463029c","_from":".","_npmVersion":"3.10.8","_nodeVersion":"7.0.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"shasum":"1d098d8361b5b677f8822273266540b69463029c","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.2.tgz","fileCount":9,"unpackedSize":65621,"integrity":"sha512-FxTChNYHvDa77QT5iyXuSXXgXncAX5sVmYQS0MD8xlhUw5/rk7zjgDRihCBi1JD4Y+E3tBl3pYEnC2gaYaoaCw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC60t9LkHObB0F8V8wjq07eXX4Uwr6rKH6YGYS3ccMzLwIhAJYxeVxjBpsBTr4R7qtP0vtzKkyTTt3dbNiCllJs01HU"}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.2_1523190193544_0.13193251570819364"},"_hasShrinkwrap":false},"0.0.3":{"name":"24hto12hformat","version":"0.0.3","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"6a4e8869a62f8f9dec151d1f5a8e3334930bc367","_id":"24hto12hformat@0.0.3","_npmVersion":"6.0.0","_nodeVersion":"7.0.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"integrity":"sha512-BPZQ4lWb2U51ANrAArSa5AbuJ6nFK1mfggoylWk2AOwfqByPrHylEy0N/QaWdQP0jFWi1lVdap6HGjQMv1N0VQ==","shasum":"a35ee722a588ea6017d540370de591699ee349bf","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.3.tgz","fileCount":8,"unpackedSize":66527,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9ZkTCRA9TVsSAnZWagAA4wwP/i0nAfCXLitznyKWeviV\npZQWdjfayLGbG+rBPUuXy+hUrh542mHJTRpGJwn9jQvZHbYRPlBNNUdd5sop\nTScbKs7aJzwxz/R0tksZFFvTMhyeKK0w+2tpC0fQnPgJUGyZ7gcwF5Q/TPJE\nP+BpUIk2K4AvNVq9ISU9Xzg5TptRtL8t84ElNwqDc+LtQ016BI+XlhED1lDa\nUfXnyJSX6+nZNsMq0tYMOQV/+pDSjdEpBxSCPJlP/JfUofDvwUtdRDtlOjm3\n+BiqWnjAHcdGWtTXKESelsMZvPVJd3PO5Drq9at5SYWyVwwhj7hTCZ2Q7x6m\nUAhQBcFXkfGWvIN101mzexw8x1XI/fJAfV4XwoungyAGekyUThKNdmyImNk2\ndzJVMYI0O5Fz6UMcJHlJIZ3LPMVsdkzKVLvDq7b0EXuArkJTbqxl3EMoTzJe\nTIqyPNT6aD7RDwND53PJPnmSMoIY1d+2Por0yXow12B+Ut5iOCVjPv4QvQIg\n2Nx0ejyAbajbVqsoTNODtgXW6MVTJIQlPHUd5/YafiUpN8/4goQcv61M0FJj\nVLFLj68zfqrnJ0croCoMPpC7oxkaJdljtJdpXBug3LSIBIXp8EoXNbz3zwjr\n4t+KF+6+ZaWmzjFFUr2KjaJl8e33mmvpOslv4al5Z1IZhV2GArOiJybVd0c4\njmyB\r\n=kmpD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHiyc5+r4AjOXPII3YfRozFrFru9UMDb5RHdDdwL3961AiEA72kwTf/wi6vf90RjYPqrFWwuUtQ0cJntZ+KaNvE04Y4="}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.3_1526044947059_0.06562134281284426"},"_hasShrinkwrap":false},"0.0.4":{"name":"24hto12hformat","version":"0.0.4","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"72c050f2c298ed68825878ab6d20c725429a6df9","_id":"24hto12hformat@0.0.4","_npmVersion":"6.0.0","_nodeVersion":"7.0.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"integrity":"sha512-qv4JIi7VYkdgQ6IoHglxWpjPM4iGUq8jISHD9TS96j6lBMjLTDQRTJJl96qWlTkkDD2fbcJi2zzjgaUHkccXUg==","shasum":"3a4048fa1ab78161b2e936ee582de06da4bda044","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.4.tgz","fileCount":8,"unpackedSize":66565,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9Z0pCRA9TVsSAnZWagAAHZUP/1tX8M/9M1HCM8cfi5HL\n7mkVoOUoXyWG6tVvL9kmR48F2Nz0ZLuLDHfeKtXt19Tj47O7kuV/2F3A71w2\nJhw5IrU426MY5J0KX5eCC7h4MPac4xP2CzCRcoW/qpD5iv3JtazpfUatQBvM\nWH10dsHUc3fxzExdkyo56OLFAEH0DOw7I6OKDLVIMSwFutE3T+LD8VuFxU+O\nnxg18/7eYR4FcBI4YTx+8krynC04tb+yHS6CFWNKM5mWvbzte8zLQtxKEE+d\nmSqn7vJEt5THRY0rocDdSZnCljDlKjuNvaDaFK5Xpq+S8aMY/v8tPoCDraiz\n0XfuEIPVPsLoJalXEdLzxo09TwcA4MMmUYY2d0+XK8mEh7yix6sfi7GZr5DU\n7rmfSAelVZqr12653Pi6h6HjntyPjqfTNvfEoRCKcxgA68KwXVt8NkGFwM+A\nPpVo8wjEJp/1kmJI9JzidJ/SQP63DF4J1pB4ajUVKyFDpgnlD3lpAmabVCS3\n+C8mWI8Jzbthxm8/4d2q7cOczpApd0WiRl6t1RJUXyfArIE3TqHcLMvMC9r4\noKDWfhMC7DWJLQl5nJfupbu1r5Nt3Ir2hTglNC48zuTPLHvSigCLixzWnGBS\nxtN5PLg10AWMtZcjhOgAmPQpT5YeuTJ7F7s5xgGQUeUUUWh0/kKPTVRcIUqZ\nLJZa\r\n=WJlD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIQCz4vxKdpmKgnykCsqd2sDaoireKRYiFU+VrKCknt9TbQIfUo8Ld40imgcYjEcutnhZRmSDoplizqaSHLBfuRk4Jw=="}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.4_1526045992300_0.865844501416954"},"_hasShrinkwrap":false},"0.0.5":{"name":"24hto12hformat","version":"0.0.5","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"7814e06213852f4001df1861201142cbaee75d6a","_id":"24hto12hformat@0.0.5","_npmVersion":"6.0.0","_nodeVersion":"7.0.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"integrity":"sha512-qIlfjh3fYhHgY2HJcyiSi5pEyoJqsVgtVJY/KA9w0W/6qN/FN9YGzjgIs/k+xAznN90RKgDoEG3xjwqze87OjQ==","shasum":"e041152bcfcd52a3ccb4972fa1d696de280cc9f5","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.5.tgz","fileCount":8,"unpackedSize":66549,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJa9Z7OCRA9TVsSAnZWagAACDMP/0Nc+Rp50vxeavxgGIYV\neWw+folY1mJEu2nT6zMavktllO82LHwxGXVz7DE1FYAHCK/fH1zXV9GI0qPD\nbYsIYit35yO8pQYsKaHBDMWKEZrfLaZkuaHR9j600Pk+ChB8KWmXJxLYL/Z/\niQne3rJicfl6PamOCM6aT7eesBxR3cWEkkrmNomjbGa7E7KKiFfyL3g5A3l3\nlWRqzFoRKO5uzHjkJH6C7xzWrTcvhcGFVrl6Jx/hQOsEvnGR+CuNpZZjAJu+\n0CPWuFaEKd93L6C52fZR7MjnGAKAKaAZIhchDg8NN3BHrkZgs8Q3MZZuk39Z\nbB8eY7zY1mw9lb8O0asPgeDsTkcXL/xViotY45RSqCqoQYUEH60M+sQLTzPZ\n3oCuBiTpciBu7xcR5bKjjGEnMbghh24Vaduluo1ANGJajgmBe0+ifhZ7jnzq\nRc71DbbfK13J06WxRByAklALQQm+E8zk7ZkcBxYs6KtbqXbwMd2biYg7Hfje\nWE8zbC9ZRCad+djVuqVcmUPIIqKWXOjVJJVt/wsmN0txVD7oqrnNXuS9W7hs\n2n0Fkr9CLUOoN96Ocffd7A4nVpJFv+qXMLP5mWjAXiwxhjYru7IjhiFBL0aK\naXeiOxLqs+mWDqs0Fn4qxMYQHfKq4gOHsNC5xDsX+3BoleS7euRyJZO5xgD4\nrQtz\r\n=fuuI\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB2ro6Hy5/UbWOMHyXfvYFX1woEyqb44Bl/CXZR0p/YYAiBZYwVz3jC8C669zjL8zWqsE4tO4eS5z1buSaN0pzJA/A=="}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.5_1526046413697_0.2699135543622493"},"_hasShrinkwrap":false},"0.0.6":{"name":"24hto12hformat","version":"0.0.6","description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"keywords":["time","24 hour","12 hour","time formatter"],"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"main":"lib/index.js","scripts":{"build":"babel src -d lib","test":"node src/test.js"},"license":"MIT","devDependencies":{"babel-cli":"^6.26.0","babel-preset-env":"^1.6.1"},"gitHead":"2a57f742707a9ce020508bc30d9e57ff70fb216c","_id":"24hto12hformat@0.0.6","_npmVersion":"6.1.0","_nodeVersion":"10.6.0","_npmUser":{"name":"filipdanic","email":"filipdanic@yahoo.com"},"dist":{"integrity":"sha512-+JeUrSJvovCTQo+Ln0y/36wO9hqxeliWJzG4IbvfVQbBMBrzgLoxEdfAq21ApmFbYk7ZfwS9md1Tlbh/cxNHAw==","shasum":"1d3ca8619cd08f0254f24c02372a1b6f620b55b2","tarball":"https://registry.npmjs.org/24hto12hformat/-/24hto12hformat-0.0.6.tgz","fileCount":8,"unpackedSize":66627,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbVYbBCRA9TVsSAnZWagAAjiAP/0Xt/hPVKzYnWOo7jQ7Q\nsY6rzYP2Kf22kYzOlF89IVxc1Neo+6/NHF28FUh34BMz91ATAa7L1QmsVm1L\n/O7g3fk6uY7ew78wTHHy4JhG2GMx25GiyQX+hQj75TBv+Oi1kp4wJPyOy6ep\n1M1rOy6yEtMj7uGjhyvAcpbh7HyqN4k6khmhuV44+II2KfEmn3vjdDXEaXvy\nTc5b3ukmFhxdj+LjRxW/MgYqz9Uy5rAwwzQb+oyIggT9fZzTOm/x4hwLf9LH\na18F20lT/RdCfhtfT6tE6o992au/rl43CF+JTqNxD3SjNBGbYPxOBWZkBCDT\n8pqJ5pRNH/8w12f8V7/rtR3eoHW1pn1VHasjjQ1ngWcEmjngVnUp7CdQKKkq\nBuZiFHWHIcRxnDHqk/UBpCID9Z02v+f7JASeCEe1l+X1Lyo+A1qzDsOjRxJH\nUG+ShQe9y9858o44d7ShgWno9YEic5KBKQnbJJlTkOUpcOL0SmZCi4Kem9H+\n+IJehAJF1XMvBHff1xRewT0bo03Igtenupqi4kRtdH5bwPwvUxRc1fEBa+51\ny/m5aYBx97XeHLdGeWriqzr3g3R3ewJmg41qcpnaRsp9IHnr+1Qa+QCAloSx\nOH5MU6vjnBE3+qw+DfHRpWaJwlLgSnmKp1FciaElI5zbnYiXePBanUbqhRFz\nqjSf\r\n=74/5\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIB8WX46wfh/veb0oY3vDTlM0RJdtcBC68dncOAk36sc4AiBILH0j/UzZ4i9HHsAJ0i1Wzgezhwca8FSH2eizq33R6Q=="}]},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/24hto12hformat_0.0.6_1532331713548_0.679722790479258"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-03T13:38:21.552Z","0.0.1":"2018-04-03T13:38:21.609Z","modified":"2022-06-12T14:06:43.578Z","0.0.2":"2018-04-08T12:23:13.652Z","0.0.3":"2018-05-11T13:22:27.233Z","0.0.4":"2018-05-11T13:39:52.802Z","0.0.5":"2018-05-11T13:46:53.811Z","0.0.6":"2018-07-23T07:41:53.657Z"},"maintainers":[{"name":"filipdanic","email":"filipdanic@yahoo.com"}],"description":"Converts from 24-hour hh:mm to 12-hour hh:mm +merdian","homepage":"https://github.com/filipdanic/24h-to-12h-format","keywords":["time","24 hour","12 hour","time formatter"],"repository":{"type":"git","url":"git+ssh://git@github.com/filipdanic/24h-to-12h-format.git"},"author":{"name":"Filip Danić","email":"filipdanic7@gmail.com","url":"http://danicfilip.com"},"bugs":{"url":"https://github.com/filipdanic/24h-to-12h-format/issues"},"license":"MIT","readme":"# 24hto12hformat\n\nConverts from 24-hour `hh:mm` to 12-hour `hh:mm +merdian` or `hh:mm:ss +merdian` format.\n\n\n## Usage\n\nInstall:\n```\nyarn add 24hto12hformat\n# or\nnpm install 24hto12hformat --save\n```\n\nIn your code:\n\n```javascript\nimport timeFormatter from '24hto12hformat';\n\ntimeFormatter('13:30'); // => 1:30 pm\n// same as timeFormatter('13:30', false);\n// but\ntimeFormatter('13:30', true); // => 1:30 PM\n\n// works fine\ntimeFormatter('15:33:29 GMT+020'); // => 3:33 pm\n\n// to add seconds:\ntimeFormatter('13:30', true, true); // => 1:30:00 PM\ntimeFormatter('13:30:13', true, true); // => 1:30:13 PM\n\n```\n## Contract\n\n```javascript\n/**\n *\n * @param {string} time\n * @param {boolean} uppercase\n * @param {boolean} includeSeconds\n * @return {string}\n */\n```\n\nIf the the supplied `time` argument is not a `string`, or it does not start in the `hh:mm` format, then the module will throw an exception in the form of a string.\n\n## Other Notes\n\n_Fun fact: the original name of this package (`24h-to-12h-format`) could not be published to NPM due to their system considering it a spam name. :)_\n","readmeFilename":"README.md"}