{"_id":"handlebars-dateformat","_rev":"9-c2e4608b43519ebb204511d5227a62ee","name":"handlebars-dateformat","description":"handlebars date format helper","dist-tags":{"latest":"1.1.3"},"versions":{"1.0.0":{"name":"handlebars-dateformat","version":"1.0.0","description":"handlebars date format helper","main":"index.js","scripts":{"test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.10.6"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.3","handlebars":"^4.0.4"},"_id":"handlebars-dateformat@1.0.0","dist":{"shasum":"deb5e7781a283cca0febca7184ade604e1ac518e","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.0.0.tgz","integrity":"sha512-8sEm6jSQ6zhreMcxKAWDYwGdzESbuDQJg7uJYQSHQ5qPc/M4DjBSQX7/eChVRMpi/nVKV+kHbaIVChmauFaQjg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIALIT4H4MvQd6B7HFoUXC2KUYCJ5tHt/ie3+z4srhHotAiA/vES9os2TTOaLlChC20SI0x90dn9VcbQa+UIMJz5YcA=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"directories":{}},"1.0.1":{"name":"handlebars-dateformat","version":"1.0.1","description":"handlebars date format helper","main":"index.js","scripts":{"pretest":"jshint index.js","test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.10.6"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^2.3.4","handlebars":"^4.0.5","jshint":"^2.9.1-rc2"},"jshintConfig":{"bitwise":true,"curly":true,"eqeqeq":true,"forin":true,"freeze":true,"globalstrict":true,"immed":true,"indent":4,"moz":true,"newcap":true,"noarg":true,"node":true,"noempty":true,"nonew":true,"trailing":true,"undef":true,"smarttabs":true,"strict":true,"validthis":true,"globals":{"describe":false,"it":false,"before":false,"beforeEach":false,"after":false,"afterEach":false}},"_id":"handlebars-dateformat@1.0.1","dist":{"shasum":"10b9f0104269c1d0b374203c242dc3bcf8208cc8","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.0.1.tgz","integrity":"sha512-aoWdNOtNmvOSdYURpPndpKAZR7D8qswVaWbdTEMB0rqSnD0bEmPS8ljNMCkBiell/nbHgSLXTJjFYSeD3dd/Rw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGIcJPFClYub2mY0OKH7e/hjD9XfoThpvf+E1cXPon5PAiB5O9vhXWnx4NhlRp8TViZozK42oCVmNWgctPoWWJxNQQ=="}]},"_from":".","_npmVersion":"1.4.3","_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"directories":{}},"1.1.0":{"name":"handlebars-dateformat","version":"1.1.0","description":"handlebars date format helper","main":"index.js","scripts":{"pretest":"jshint index.js","test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat.git"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.18.1"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^3.5.0","handlebars":"^4.0.10","jshint":"^2.9.5"},"jshintConfig":{"bitwise":true,"curly":true,"eqeqeq":true,"forin":true,"freeze":true,"globalstrict":true,"immed":true,"indent":4,"moz":true,"newcap":true,"noarg":true,"node":true,"noempty":true,"nonew":true,"trailing":true,"undef":true,"smarttabs":true,"strict":true,"validthis":true,"globals":{"describe":false,"it":false,"before":false,"beforeEach":false,"after":false,"afterEach":false}},"gitHead":"929c26db0756ce432940c94a7815730ee2998f98","_id":"handlebars-dateformat@1.1.0","_shasum":"5beca85483396d80d529286bd628c9956b6d6c81","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"dist":{"shasum":"5beca85483396d80d529286bd628c9956b6d6c81","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.1.0.tgz","integrity":"sha512-53ThTvOgALlDGsp36VNsCtSn7fEN8GhZYtZ5k8qqa37lxS6csgyoj+rdnYEstp2Kh1Q3QZZHPj5yPLl1EP429Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIG8hklGeX1+mlwDlOWhfo8BIQ9Y59qC+lmtT4xl4NigPAiAcapqHX+4Dhc7ErlBQz7qWR3HYtDBvY1wHx9DeDMIV7w=="}]},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handlebars-dateformat-1.1.0.tgz_1504106288423_0.48325805668719113"},"directories":{}},"1.1.1":{"name":"handlebars-dateformat","version":"1.1.1","description":"handlebars date format helper","main":"index.js","scripts":{"pretest":"jshint index.js","test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat.git"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.18.1"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^3.5.0","handlebars":"^4.0.10","jshint":"^2.9.5"},"jshintConfig":{"bitwise":true,"curly":true,"eqeqeq":true,"forin":true,"freeze":true,"globalstrict":true,"immed":true,"indent":4,"moz":true,"newcap":true,"noarg":true,"node":true,"noempty":true,"nonew":true,"trailing":true,"undef":true,"smarttabs":true,"strict":true,"validthis":true,"globals":{"describe":false,"it":false,"before":false,"beforeEach":false,"after":false,"afterEach":false}},"gitHead":"96ab80898edda54cdff8763dfbecf3bd4632c5fe","_id":"handlebars-dateformat@1.1.1","_shasum":"874cc225d1cea1d2f28897b107795def8928b32f","_from":".","_npmVersion":"2.15.8","_nodeVersion":"4.4.7","_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"dist":{"shasum":"874cc225d1cea1d2f28897b107795def8928b32f","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.1.1.tgz","integrity":"sha512-aq/fsBT9+jvuwuwuP2JiHMdQzDPDTQGZ+TLicOz2grOPQRabn5vJfkPQFnp1ixIsXzFRhc1Dd0lozWTf19kozA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN4XfLlNzY2CbiKLC1iwwhBtDgFbtq7jx/uGXEmb5v9wIhAOi5yEGReVzePB5SHqddEYhEbiLTvAftJzvC6H2YA3qf"}]},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handlebars-dateformat-1.1.1.tgz_1504184564424_0.44214965705759823"},"directories":{}},"1.1.2":{"name":"handlebars-dateformat","version":"1.1.2","description":"handlebars date format helper","main":"index.js","scripts":{"pretest":"jshint index.js","test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat.git"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.29.1"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^9.1.3","handlebars":"^4.7.7","jshint":"^2.13.1"},"jshintConfig":{"bitwise":true,"curly":true,"eqeqeq":true,"forin":true,"freeze":true,"globalstrict":true,"immed":true,"indent":4,"moz":true,"newcap":true,"noarg":true,"node":true,"noempty":true,"nonew":true,"trailing":true,"undef":true,"smarttabs":true,"strict":true,"validthis":true,"globals":{"describe":false,"it":false,"before":false,"beforeEach":false,"after":false,"afterEach":false}},"gitHead":"6badad0bb5ead6367023d23ee900be093cc0d7b7","_id":"handlebars-dateformat@1.1.2","_nodeVersion":"10.16.3","_npmVersion":"6.13.4","dist":{"integrity":"sha512-v78wdcDhyR3Xlo6SftxSvbm5nJ0B9RJ9pQJBiWD8OVSqwcqOpM7DYe5R0Xhp94bD2nqMbhmMyxiO6h+Pn7XF9A==","shasum":"03c391675d707e5fd1fe6f9ff8dc7ce5e8408ffe","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.1.2.tgz","fileCount":7,"unpackedSize":5934,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhuyQcCRA9TVsSAnZWagAAHwsQAIwHTOfMtmRhtcD+xmUZ\n63KGTqrmJu9BCYQAz6PyWR6uuBcUSkHJ3j0v3GFWfi/RtBcDUcCIQT54tQKt\naKatE23LULSYE7RF1C0e2AMntsgbq1ddaj7PCm0PRkvSj9Kru3BG2Ej1Wz19\nSOLjNiWw9USBjFuyEaut5zZuR9UAl657XiPmrLiYaHfuXurUvhACTNdspC88\nc5pdMeym7DoRJG1GfyNlfseg5llVf57g6HuL7gszWJzu5UQ6U5T3JK6BPkJt\nNLg0TtkelkAXxySmSsWFdPiH/PLEptqRNqS0p56K9gM5ujFogOj8inzfjq1X\n/A5JEkj7umN5iH3XmPa1U9dFa4rEFG6r4e8Rsxqa0aaCh/0/iY7cJA9CIG8H\n2yolST/1bn/UdOAaxqwcrxKeA0+26NLbgYRjIqJTGN51y49MqH+CKGMGwdAB\neVgQrmEfSwh6fpZilEMX2sxg2ttfmeJHhqjNC+rs9QM4W/Kg/yP7V3L4Rjwi\nqUfSmST3or1zTvH8ZqQrIY6i+JmPTn2oB1oCOstK/2EfknRAGyJfyEMZEKWh\narqZNJBtnzrt92Yif82LBc6f2nMrEXhRqYBHyKMKtsGGKWmYlUZgYhdbNmCN\nybYOjGYbXzla4WxCVhzklO0YaBoAgefGdlbe4QgKUd0q+yT1dubp4PbmWdHY\nna4/\r\n=oGNp\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvevR5ArzXxkN1eit5IzZip3VYapGUxsIppajLm0DRIAIhAITZqqfYau73E4+LTzNWvAwE6Kq7gOTShtdTLP9ODI2B"}]},"_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"directories":{},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handlebars-dateformat_1.1.2_1639654428053_0.2593850051522606"},"_hasShrinkwrap":false},"1.1.3":{"name":"handlebars-dateformat","version":"1.1.3","description":"handlebars date format helper","main":"index.js","scripts":{"pretest":"jshint index.js","test":"mocha -R spec"},"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat.git"},"keywords":["handlebars","date","format","helper","moment","time"],"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"license":"ISC","bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"homepage":"https://github.com/tcort/handlebars-dateformat","dependencies":{"moment":"^2.29.4"},"devDependencies":{"expect.js":"^0.3.1","mocha":"^10.0.0","handlebars":"^4.7.7","jshint":"^2.13.5"},"jshintConfig":{"bitwise":true,"curly":true,"eqeqeq":true,"forin":true,"freeze":true,"globalstrict":true,"immed":true,"indent":4,"moz":true,"newcap":true,"noarg":true,"node":true,"noempty":true,"nonew":true,"trailing":true,"undef":true,"smarttabs":true,"strict":true,"validthis":true,"globals":{"describe":false,"it":false,"before":false,"beforeEach":false,"after":false,"afterEach":false}},"gitHead":"074ac3aa03ab1e915e8be9db68d4e8ae135be5fe","_id":"handlebars-dateformat@1.1.3","_nodeVersion":"16.15.1","_npmVersion":"8.11.0","dist":{"integrity":"sha512-D7SjYx66+t2J0IMgq7QbjE2G9hTudICQx8Eg16FHAEm5qu5FRS8T+p1IpmA7WVuz7l6RruJHwWHJpizklzfrcA==","shasum":"e1ffbfd33481173bbfb820fa92f5ae009003e187","tarball":"https://registry.npmjs.org/handlebars-dateformat/-/handlebars-dateformat-1.1.3.tgz","fileCount":7,"unpackedSize":5935,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHHByam8wMjOm2p3mJQNvSmcTQsdXhAMS1dUlgwvlidZAiEAn+2KxSsOOtfGFhFwAAtp+LZYCFltGJU7zOwCH5Mbbbc="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNuRWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoxfA//VXJur7ERwwOV6tdVYIPOe+bZi1SmJ3Cw+DDoJIx50SZrXBZL\r\nQbjI8KrSpbrxrRUoQvlx14qnQGm755wXv/GN5YUWaxdr0fxpxPah/nomU97I\r\nPlRQev+ZQpKC/IKzN0DwEgPyXvf4LsbphGPw+gkMYUL2jXcIHSouursvNvjS\r\nJwJB5tfF+y0QxzCJapRM9t7VDn15YmrTVPB1yBCIEOb6wJ3BVYWG7eQZ2879\r\neJqnPnv+X9skbZgC4VWA0P69ZHkizG8DYXVtXR1nXKBE+2hzG5deLgWsnXCc\r\nyb0cdfDQMj0E2PVFCVybUN09ouikcMjRRJxjaWYsAHaaN0SlYuY/MJ9B2Ip7\r\n09vSE632RJ34UkVyxRxvA/zJYPSRO45Hs7o5eWZCzqGUW2NDBP19cKXbVFG7\r\npAO2zTX68DBCsPniLTjwWyX6JZahVkEpdPm+51ikuBZ0ZyBtmnBgJlcKTPZl\r\nAhAwCSCiPIazp5Ov/7MXiCGqQBSTyRJ4AKYw3GcEaQ5yyvJk9vC8qoTaUlnK\r\nWdP0r2wndTJ8uXcFmVl9iR1bh8EhqfUEd+Ox1CFOUCrdHs/W4oU/QgSqRk3u\r\nWJqkTcE/3c7nCLMKjhVQEPgeLf9Yn80N9f4ljKfxLhDlk7AGven457IWRA/B\r\n1kbrJ6fSbu0ctlotuk39aKT7UR81GSqlMWk=\r\n=oda/\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"tcort","email":"linuxgeek@gmail.com"},"directories":{},"maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/handlebars-dateformat_1.1.3_1664541782012_0.4313079203382433"},"_hasShrinkwrap":false}},"readme":"# handlebars-dateformat\n\n[handlebars](http://handlebarsjs.com/) date format [helper](http://handlebarsjs.com/block_helpers.html).\n\n## Installation\n\n    npm install --save handlebars-dateformat\n\n## Usage\n\n### Register the Helper\n\n    handlebars.registerHelper('dateFormat', require('handlebars-dateformat'));\n\n### Call the helper from a template\n\n    {{dateFormat date format utc}}\n\nParameters:\n\n* `date` is a JavaScript [Date](https://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Date) or an instance of [moment](http://momentjs.com/).\n* `format` is a string containing the desired format (can be a variable or a literal). Placeholders are defined in the [moment.js docs](http://momentjs.com/docs/#/displaying/).\n* `utc` optional boolean (`true` or `false`) to decide whether or not to convert the date to UTC before formatting. Defaults to `false`.\n\n## Example\n\n`app.js`:\n\n    \"use strict\";\n\n    var hbs = require('hbs');\n    var express = require('express');\n\n    hbs.registerHelper('dateFormat', require('handlebars-dateformat'));\n\n    var app = express();\n\n    app.set('view engine', 'hbs');    \n\n    app.get('/', function (req, res) {\n        res.render('index', { now: new Date() });\n    });\n\n    app.listen(3000);\n\n`views/index.hbs`:\n\n    The server time is: {{dateFormat now \"dddd, MMMM Do YYYY, h:mm:ss a\"}}\n\n## Testing\n\n    npm test\n\n## License\n\nSee [LICENSE.md](https://github.com/tcort/handlebars-dateformat/blob/master/LICENSE.md)\n","maintainers":[{"name":"tcort","email":"linuxgeek@gmail.com"}],"time":{"modified":"2022-09-30T12:43:02.385Z","created":"2015-11-13T03:34:15.961Z","1.0.0":"2015-11-13T03:34:15.961Z","1.0.1":"2016-01-01T12:56:40.659Z","1.1.0":"2017-08-30T15:18:09.296Z","1.1.1":"2017-08-31T13:02:45.398Z","1.1.2":"2021-12-16T11:33:48.235Z","1.1.3":"2022-09-30T12:43:02.295Z"},"homepage":"https://github.com/tcort/handlebars-dateformat","keywords":["handlebars","date","format","helper","moment","time"],"repository":{"type":"git","url":"git://github.com/tcort/handlebars-dateformat.git"},"author":{"name":"Thomas Cort","email":"linuxgeek@gmail.com"},"bugs":{"url":"https://github.com/tcort/handlebars-dateformat/issues"},"license":"ISC","readmeFilename":"README.md"}