{"_id":"time-elements","_rev":"62-24a7624b65f1c9a9877dd4652eeac420","name":"time-elements","dist-tags":{"beta":"3.0.0-beta.3","latest":"3.0.0"},"versions":{"0.6.0":{"name":"time-elements","version":"0.6.0","_id":"time-elements@0.6.0","maintainers":[{"name":"josh","email":"josh@joshpeek.com"}],"dist":{"shasum":"f87989106b62a5de1b21e8c9d55f84bd47328f95","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-0.6.0.tgz","integrity":"sha512-A7mp4gCn1zTxn4ts7QcwiACEQo+Oj4IMAEik5zAhFZTTAPaGJJLGaKVQUsreLhqGAPcQv+vgMl0w6wLSXKWt8Q==","signatures":[{"sig":"MEQCIFayY8QZRyZSCGcQjOp959LGYVFb23wKARGMCRbbxQjqAiB1CF5casIS8ebSx9F4MCmvGt8N14Xtz3305OdzAN9aiw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"time-elements.js","_from":".","_shasum":"f87989106b62a5de1b21e8c9d55f84bd47328f95","gitHead":"2ff7e94f1fc0f6d85a1a3f22983d8c0beed305cf","scripts":{},"_npmUser":{"name":"josh","email":"josh@joshpeek.com"},"_npmVersion":"3.9.5","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"6.2.2","devDependencies":{"bower":"1.3.8","jshint":"2.5.2","node-qunit-phantomjs":"0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/time-elements-0.6.0.tgz_1467406233173_0.9367375066503882","host":"packages-12-west.internal.npmjs.com"}},"0.6.1":{"name":"time-elements","version":"0.6.1","_id":"time-elements@0.6.1","maintainers":[{"name":"josh","email":"josh@joshpeek.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"}],"dist":{"shasum":"587358d176b9a928865c293d439a19636f1d6631","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-0.6.1.tgz","integrity":"sha512-ESkmsIe2OTVcq2radNE+h2uTKJ+OTBP2YsuniF5nj7J2SAACmMV5UETzuSY2MjooRTramk0dYnae7KrDMfOgSQ==","signatures":[{"sig":"MEYCIQCRc34eVbzDhCtgcCDlfIpBhlALtu+p52FzsgmcXEvV4gIhAMbc2+7V2ov4AG8zXJEN8J8DaIi85ihi26DDVtVBkjVf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"time-elements.js","_from":".","_shasum":"587358d176b9a928865c293d439a19636f1d6631","gitHead":"4d2e5f0650d8e809170be72c92c405d805e9c530","scripts":{},"_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"_npmVersion":"3.8.3","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"5.10.1","devDependencies":{"bower":"1.3.8","jshint":"2.5.2","node-qunit-phantomjs":"0.2.2"},"_npmOperationalInternal":{"tmp":"tmp/time-elements-0.6.1.tgz_1467750136031_0.3168083792552352","host":"packages-16-east.internal.npmjs.com"}},"1.0.0":{"name":"time-elements","version":"1.0.0","license":"MIT","_id":"time-elements@1.0.0","maintainers":[{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"},{"name":"muan","email":"me@muanchiou.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"ca8f1977302fc0a2ef4442caeaea42fe5165b50a","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-1.0.0.tgz","integrity":"sha512-dnvdy7w45FhfZcg+Qw5d3F7Fe1b8vAn/DREgc0k4JhLls026XmpXfz1cvAAcOqBixDolyOlrXZipzljj3hbSMw==","signatures":[{"sig":"MEUCIHr8Kvs0HncBaWmksHmyr5gKOy4kVAiEl9WX285YvtRAAiEA1RpZBXUv17LZmOti7D7Hf0uSCKPLHjokYfWYiRSzwAE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"main":"dist/time-elements-legacy.js","gitHead":"b1d0d6a94db5b0e2ba3cffc367909f25d9cbcb39","scripts":{"lint":"eslint src/ test/","test":"karma start ./test/karma.config.js","build":"rollup -c && rollup -c rollup.legacy-config.js","clean":"rm -rf ./dist ./node_modules","pretest":"npm run lint && npm run build"},"_npmUser":{"name":"muan","email":"me@muanchiou.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"5.6.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"jsnext:main":"dist/time-elements.js","_nodeVersion":"9.3.0","devDependencies":{"chai":"^3.5.0","karma":"^1.7.1","mocha":"^3.5.3","eslint":"^4.13.1","rollup":"^0.36.4","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","rollup-plugin-babel":"^2.6.1","eslint-plugin-github":"^0.20.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0","babel-plugin-transform-es2015-classes":"^6.18.0","babel-plugin-transform-es2015-block-scoping":"^6.18.0","babel-plugin-transform-custom-element-classes":"^0.1.0","babel-plugin-transform-es2015-template-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements-1.0.0.tgz_1515488930685_0.00004616728983819485","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"time-elements","version":"1.0.2","license":"MIT","_id":"time-elements@1.0.2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"a7d7ef216394f2f09845f74a2bfa6ee1d75a9a8c","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-1.0.2.tgz","fileCount":10,"integrity":"sha512-KOkPytwjM23O4cxsofAi12NmZCaND4tNQuohib3ovlebNRaCsRQIc1aWTbCjviqqZYQqYs4XmEu06fNH4y6pdw==","signatures":[{"sig":"MEUCIHtaKSVHQuuX1XynkdWfYVPzOPteAIGOZCfuH3SQroGTAiEAmz2iNujCviSrFx6XVagtKP3ZQcnbGxk/s+RY6yRxEyQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":55746},"main":"dist/time-elements-legacy.js","gitHead":"bb3edc97d2a90ca93eaa1ab3d9f4b8fa87c64132","scripts":{"lint":"eslint src/ test/","test":"karma start ./test/karma.config.js","build":"rollup -c && rollup -c rollup.legacy-config.js","clean":"rm -rf ./dist ./node_modules","pretest":"npm run lint && npm run build"},"_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"5.6.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"jsnext:main":"dist/time-elements.js","_nodeVersion":"9.5.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","karma":"^1.7.1","mocha":"^3.5.3","eslint":"^4.13.1","rollup":"^0.36.4","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","rollup-plugin-babel":"^2.6.1","eslint-plugin-github":"^0.20.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0","babel-plugin-transform-es2015-classes":"^6.18.0","babel-plugin-transform-es2015-block-scoping":"^6.18.0","babel-plugin-transform-custom-element-classes":"^0.1.0","babel-plugin-transform-es2015-template-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_1.0.2_1520616427973_0.2322811856764182","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"time-elements","version":"1.1.0","license":"MIT","_id":"time-elements@1.1.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"61f431081ce733c7267f736497af456eb138a296","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-1.1.0.tgz","fileCount":10,"integrity":"sha512-1raYIu+bHBIvUlMtZDJv+gXkC7eAbtTpZgJ47zRiKk7EEJC8VIcNxR+eKV+Eyjb8UHKnh7laVooWj19eiZLwyg==","signatures":[{"sig":"MEUCIElJkaVf06NrQvhiNDkU4emYYtKmTCf7M4cy/T1VZWAhAiEAiPvmnkMIAvbnWL/LRWBQEvV5Y4cQrzY7wji7RQ3Hh+k=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67886,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbBczzCRA9TVsSAnZWagAAABEP/j7d4aDl79y0wa9EnTT2\n1dGzYw+KvaAddHV+CvBC0gdCaYnQVMfXasR2DoIjtp4Ol1v6F7ZR7wdYQN61\noPe4IUDSxPhKrXL0oFVV45vSVg68SnEodMYbBlT1ly/lfNaDChiRnvVENgc5\nMoNq0KqZFAZjkvFwfdYxhkhRMDEHZjSfIzK8EA8PffcZCFbKZ041OS2gAtvM\nCEV/LGYmPV4gju5Voual7f7IdqsGIPQzlW3Ciso/X/Dg4057Kq66i8zm3riJ\npwjJipcbOLkT1ooqQLL9Gd4Gc7ghtts9+KShurysczOiVdvAAVHCT86QTOrk\nW9Ap9lyIOVnCdbFv5OKEVyvqvNu8JZ+3F0JGUGBkvgjSkso+ftN6YwfzoORB\nJSqN1/+rYqVIbJAiFjdNGr0NIXbjA25XkdjMctQjx6o2Xw7qnRokqo5eYiXj\nQD0sJosBT4Nbrs1p0afS/xHhNIOQktO4jZm8dbUX2Zja8GtPQWD8F1Kr/2g7\nBaUfTqZ/Ijmex2eXxaCWxzt86zpz+Yfbq0wnBqOGQFGrpbddU7JwV7L+HPqp\nkqMjTRZeKVl/Qc23E72+4rZI7hxgtD9jYlZf3y/McIRY1HBlGvqkt5Eq9/RX\n57Hbztl2dfNCDXOsGbdICehBXKlIg3EwCnkfjR6A3ydhbMmS+jBGfyU/ZcUS\nhmD8\r\n=6Cfc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"1454b77e0d55ccb7493a7ab4c96823f1346a2031","scripts":{"lint":"eslint src/ test/","test":"karma start ./test/karma.config.js","build":"rollup -c","clean":"rm -rf ./dist ./node_modules","pretest":"npm run lint && npm run build","prepublishOnly":"npm run pretest"},"_npmUser":{"name":"keithamus","email":"npm@keithcirkel.co.uk"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"5.6.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"jsnext:main":"dist/time-elements.js","_nodeVersion":"9.5.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^3.5.0","karma":"^1.7.1","mocha":"^3.5.3","eslint":"^4.13.1","rollup":"^0.57.1","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","rollup-plugin-babel":"^2.6.1","eslint-plugin-github":"^0.20.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0","babel-plugin-transform-es2015-classes":"^6.18.0","babel-plugin-transform-es2015-block-scoping":"^6.18.0","babel-plugin-transform-custom-element-classes":"^0.1.0","babel-plugin-transform-es2015-template-literals":"^6.22.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_1.1.0_1527106802841_0.6587100827027921","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"time-elements","version":"1.2.0","license":"MIT","_id":"time-elements@1.2.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"a8863cc0ba3bfd6a506fb8fe84fe72e0e0445405","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-1.2.0.tgz","fileCount":10,"integrity":"sha512-JD13KSY28KGFuNr378trl20eVVXj0S2FC3KIL8VIlw/bx748joWjxmu4POYaLLl0bhXjcUXqhr2EWue+y5wOag==","signatures":[{"sig":"MEYCIQCGQLuLtSm0C961Nm8rH++cvfvQKr6HoobmI4nNxNvI/wIhAKhzKzVi7vrTo6pguD+CCTNPdTeuU56EEuA4z4qEoVXx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57614,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWQQ6CRA9TVsSAnZWagAAwa0P/0/iYiz7xA7GjKCt/fiU\nB2k6NN7i4vuBeMWb15+AJ9vgW2ShheDAOH6pmFnWZgKVZE2o7hjg25tcS7Wl\n1mbxi88eVCiFERGvqtABiS3FzV6jgpdqgUA9EPL4SyY1zr+jV+eOWxTsE88M\nRH/MsxHj1mVHMRjeR2w4aUvxHLdkfNTTitQCrBj6OYaJxPc9ra9FwcYUZwt4\n4UkHWLHNAUCIBI3g5zfznuEaxL4km4OuBM6+NvVoDgI6N3+EbpnNIlrTXzs5\n1WYGC40LrwjHyO3U1b6/OQRyz0aS6aMc4dtvhgFzckL5jQ1a4jj8JcVvXF18\nsZJpNB+E5OG5/Zho9IhYfSU0XthYKTY+lP6ki4lP1OWxnnXj7KeQvD141o+g\nbwKzkkf1iSNfRi4qOfNBz0UcF+Xa/BBGRSYrFzToVcvUCXxrxHQThBoF5fA3\nHeLKgGR7JsxVFb2cz1KUcnzV1vcJz0x3Ant5ng3AumHxhHo+MgjKmaS3lVKw\noAR+58pV7OtU+gobh6VIpzHYmnm24fb8/gwGFbXjv2ci6OgIaN3WLNZ8g4K7\nfBpGHZoXHVnyodxqfHjm+Vc7ReAf6oqCT+S5CehHlho7Pl766gFXZbO8l7DZ\nVfpNgAjtCujSsDoyuU19xrHtb2M63Fbl0hSaJsxMrqVvkRFrioscF8RN2Poc\nzkfz\r\n=dPea\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"ef80765a242fbc176c6440a9107e2c1b7ac28cf3","scripts":{"lint":"eslint src/ test/","test":"karma start ./test/karma.config.js","build":"rollup -c","clean":"rm -rf ./dist ./node_modules","pretest":"npm run lint && npm run build","prepublishOnly":"npm run pretest"},"_npmUser":{"name":"dgraham","email":"david.malcom.graham@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.2.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"10.7.0","_hasShrinkwrap":false,"devDependencies":{"chai":"^4.1.2","karma":"^2.0.5","mocha":"^5.2.0","eslint":"^5.2.0","rollup":"^0.63.4","babel-cli":"^6.26.0","karma-chai":"^0.1.0","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","rollup-plugin-babel":"^3.0.7","eslint-plugin-github":"^1.1.3","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0","babel-preset-es2015-rollup":"^3.0.0","babel-plugin-transform-custom-element-classes":"^0.1.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_1.2.0_1532560442034_0.2364368782934645","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"time-elements","version":"2.0.0","license":"MIT","_id":"time-elements@2.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"36f5a9c9d27da93f3653d3dc99390e4ac4a55fbd","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-2.0.0.tgz","fileCount":12,"integrity":"sha512-hbZoW6PzY4ttb/tq1Uv0KuklCTlIjgexKmDaJ1OeAjjwB4NnBhd0CjtHEPL0r8uNS3e9z4XHQzz0H6cQ9Ejefg==","signatures":[{"sig":"MEUCICWYXIjxSAOPe7DvrbhvhJXTcKrezxWKXhDuxQbkmvSnAiEA3bz5GnWOXAYmdPjUSnGZKuBeeYe22Vd1WacG3VgJbOo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":47480,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcb+fNCRA9TVsSAnZWagAA9xsP/RnP0mPxBy5pAJGYovkr\nNZ+0SD/d/YvYU21UODSamV48aZYCd3wfobAw6Y/9Equ8d9aLqrwNVI6C8Ge4\nukMu2/+zoaSOxjPNlxY8lLKKqK/VIYUtxNcDuuyMmq7Q9rhzHMDh6sPaYJ4k\nZUi31AmCXQYBtLbPpt1K14tl2qP375k2lUS6srPssu57uyR8zLsFo0WkvnnB\nvJC27LePLU+NW+rEElNlY2WbkulXtm1++AiBehoLPX3gQBWPRCf5Io+J7YI1\nvftnistaIzrt1sm26n5vlgvCQES6Ci9r2Zqrb6HWMiNaPGlwxrCzxGTpDvU5\nlVDcR+Wm+m+G9EboLGmJTMnJdJEEGa7i00Yvu65weRPZWl+Rrf4FmruzFmrp\nAPeTIC+qz0/8MI480xBFrHIHRG98tZeqnPgtiR/iypLjGPcgjg3ejUKabFW7\nj3SSESeD8o9ptZBeMhTEWeUEv+EV8FjooeYRdrTz79hfJrT942PteNl2tsIN\nP64kliCZ2TwvlUkRyOlxltWwTw8kxSSPStw9ZHqVxuYpNqmkTHK0gIDFAU/J\naBNhQfmq/aA5cq3KcHGJaVh5K295ewi6JjGdzPnpNoJikMUzM8eWqyEJ75Vi\nuyfXxjvUq+1tTuXpx775AEmcL+snuYIGd3SIpKC1nJplkH2hqJpWaVx4srQt\nbWXQ\r\n=9hu9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"88c9585f3f502511ca7413731fed32f7471b655b","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c","clean":"rm -rf ./dist ./node_modules","pretest":"npm run lint && npm run build","prepublishOnly":"npm run pretest"},"_npmUser":{"name":"mislav","email":"mislav.marohnic@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.7.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"11.6.0","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^3.1.4","mocha":"^5.2.0","eslint":"^5.12.0","rollup":"^1.0.2","flow-bin":"^0.93.0","karma-chai":"^0.1.0","@babel/core":"^7.2.2","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^2.1.2","rollup-plugin-babel":"^4.2.0","eslint-plugin-github":"^1.9.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_2.0.0_1550837708537_0.5353126719674217","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"time-elements","version":"2.0.1","license":"MIT","_id":"time-elements@2.0.1","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"6d3a598c6e80f4c50e722f585010acd51a98a1a7","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-2.0.1.tgz","fileCount":14,"integrity":"sha512-0X4A+UUMhmRbycR0xcCgV2BuDTsvJY1X2WK7ScuC01NdAp5qfGE5805mgUZ5lNvVRH9o37Rzr7zybPbLQfaNOQ==","signatures":[{"sig":"MEUCIFq7Gx8ayf6UZe7TFnXKo6Dtt1DxOarzwW1EnOoPwXzAAiEA1QzgAXhwqswu0q83Mzo0FJIz9Bb45jqZIT9rcxzbHYc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48849,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3SDpCRA9TVsSAnZWagAAZhIQAJQIBNqCCwEUxOPkn35N\nmf5mjvLuJyV1OjP0ycI+oHqsEyZA085LQNIJ2rJTNlbnYmuPVLJo9vCg1RvO\n0amk1U69OxZndGiqHJBSA8dOu389jx0XY7QZIu8NuMG5Bbkz6ElcsDkj441E\nbH8zxFRjEV3PviwR1QX7W58GrOjbMX2XK80naG2wNmM6W2M8gP7/YhfJcSji\nEoZM3Dtp+QhMhJXtfcsUyK9z+BvvtEpD0A4+dB8WXxWpKFr8/JskQ2fE/MyH\nfsk2OrF/psdEFhTU1/40WuPVb5bbMUI2WBz1qA6kEegx+hvyJdCzolsL4NZM\n1IHSk10VG9JLr0mq7nNIAZ85vy4aaSuDxREAHabofWuCYbvik3zo8FE38Dks\n00yvW6FFqXSCRWCzaYcpKN7v7saF6DvzqOESzhVkuGbntkzmvthq1ybZadVa\nBIiiPR/EgwAosuBy62pT1a7v9pUSTHZEhMWW30rJZYFJpI4ynjMOEql+29LY\nYvSnjDOx+5uLcg5ccsaWalnnThQaXh5Vmx8GIj5+skyPZTyhYYIfAmtbgJz3\nGAziQkdYjwMlNWODl4yyTANs6ZpTF8lgW0G0oZaB8O04c0ibxP/kKmbjDIfk\nSFi7viHi89OAheqnGViD5oa8vwG40QLbfBygSTd8ZVNU5BjmSDfc4+XYfh4D\nm5zk\r\n=aAqP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"e5401fde21ebf999374c88092e859df04adb3d22","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"koddsson","email":"koddsson@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.2.0","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^3.1.4","mocha":"^5.2.0","eslint":"^5.12.0","rollup":"^1.0.2","flow-bin":"^0.93.0","karma-chai":"^0.1.0","@babel/core":"^7.2.2","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^2.1.2","rollup-plugin-babel":"^4.2.0","eslint-plugin-github":"^1.9.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_2.0.1_1557995752812_0.0558961550872934","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"time-elements","version":"2.0.2","license":"MIT","_id":"time-elements@2.0.2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"55a3d778c585d5ca573a0aeb48e3a8edf230e60e","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-2.0.2.tgz","fileCount":14,"integrity":"sha512-FAVfQrzQWiFDlJERaP174tL8TFTQ13Y3d4le2bj61AEpVcvqjqcVmyVNniJ1yNEkpiZIrAt4ampAya62XCjc2w==","signatures":[{"sig":"MEUCIDETuHn8eLwXM8f5nizxNyZQyk6eBqEav6OKY/A8IezvAiEAwM1MFXxbJvnELQmXfio5vMdnWCpJ4u9beHjJNryvmUM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":48885,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc3SlDCRA9TVsSAnZWagAASuAP/A0mpNV2WBd0rR3MwbO3\nWSYjYu1q0jaMbaCJSfV5g1L17MU1kKP3VjaOxXsNM80HRck5lINrsJHCEI9c\nm1fPf5q9MT6oETJ/iAp6bVH4GtzfHVUWDrsoDcEnkThOfZfpD5/ICCWTvpjl\njhsQLnoqvZU1nfRCMewq4AZk78ivB1i+vF4kRc62YEyQQPVwkjQbCwe3Whf0\ns2LEUg9UMujywknzFZxr02W7BHv9Ka/TZcqjLXjGcA9Ux/JSoD9ZMFiu9zb/\nKM49gB8lHhkDJO+NkN5thVAUR9yd1ESkRRGMvNwZNGUxrDNfi+boC8bh08RS\nioLYMlgbjToKHtHENSL7rnp/qQpL1sDzDfO7T3J8GdejgvDZKz4OlasB9dUW\nxRkHeJmb1tDVULzPqCorJs3fWmP0lAG4XRVe01ci7EUA6uvURON1XGLz7CJf\nWcXa1lvT6+glRkr9Y5FUyQY2o2tqNUCOChV5CM5E5S/ZkVr0ljPWJ1UMUC1l\n90NRkw108zpgzplQpci4Z//woEwIL/VY2WL6H6ak/EHe2r3od7278yDl0gJF\n07C/VanfBa2h0mujnqnCmjuIdKElA0TOzfrNwEV1dhBwFNbcZ4uI60IIWtjf\ndxXHg2GIgENz9vviQznmXc+RWx/n73eGy9TJauD35MjtLJYqforMKJ6601yg\n8XQU\r\n=bVx8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"d3b3316448c2f1fe11e5edd9fd6e1b13afe23f43","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"koddsson","email":"koddsson@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.2.0","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^3.1.4","mocha":"^5.2.0","eslint":"^5.12.0","rollup":"^1.0.2","flow-bin":"^0.93.0","karma-chai":"^0.1.0","@babel/core":"^7.2.2","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^2.1.2","rollup-plugin-babel":"^4.2.0","eslint-plugin-github":"^1.9.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_2.0.2_1557997890455_0.23731968209480292","host":"s3://npm-registry-packages"}},"3.0.0-beta.1":{"name":"time-elements","version":"3.0.0-beta.1","license":"MIT","_id":"time-elements@3.0.0-beta.1","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"40144db9b3d295265db27e063a94d738a727531e","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-3.0.0-beta.1.tgz","fileCount":14,"integrity":"sha512-D4gQxyfD35Wdtyr8gZOygDLjeSOZM8y44G7dEXMP/g7UGoLRoCyLu7eIbHckjgCQGjxg4xmqG/SU/gbeu+hDVA==","signatures":[{"sig":"MEYCIQCVTzl5+xP9jMAr042RcvWiMJzd5j0yDN3Xc54R6GUcPAIhAP+EW1qr4E/9K53qugcQdRSwz6/gog9xNGD7tcHQ4EFw","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56817,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7YHGCRA9TVsSAnZWagAAbakP/i6h/U0ABHKkNgCFSLef\nvZ5rzMdAy+VeBwN/6vsjlpPISgwoSBeF6A8YajtmU1/TwoOsmSWay5bIPVz+\nFQZAmlW2LZ7jdms6rhxh28s4ZTQcjg9Wr7FtY4ui7DbRYvuok/NQx5WWUYak\npS9DKmU50kKfuY2jy3e9NQIGMSZZAwP/G3beW6nfaC15ZeVPuCkzXWRCTVcS\nzxozee7MqcDYWdwtVogTEpCmFwKwMVVA/RSQTn5MiYUT/cr95Uj3YmKiFrIL\nC5fM7c/qTe2gL3SETZ2M9zn6DFQn4mORM4NC2+okAHEoPR0q/skwIf9OmRLu\nbR9MtXPRhkKdH5Ou5nDDVJp/Cn2ZZa9Qlz/XYthQx4dj9VBm3Pcsng+vqaXV\n6dsIjGGX5TS58Snn8M1mnkO7IYQ17iDcJfMgtM4ZBwqqqa/Jo6PBcfNzlSCv\nWfV5TiiiVhERPQn0BJhEWu2O6XaUj+UoikXxgag/aO6LhvHzYUFAjy2WJv+P\nT+oLDaj3EKDdqwwBaU6WCxsIDbl3/Ka/VSuM8c1FCAmpFLJ8dJrbNGK1eWyd\nukMlE7dHVLC7XIKQHKJuKr0fTiAmeASxCSUR1yg50lU8AHo8f1VZULN9DV3G\nez5YIxuci5xhgyl+P9qsN34DI7r6zIH8HmgSAX7uwHTlPxbI8U9Syg2Q8v+f\ndrl7\r\n=pEk9\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","readme":"# &lt;time&gt; element extensions\n\nFormats a timestamp as a localized string or as relative text that auto-updates in the user's browser.\n\nThis allows the server to cache HTML fragments containing dates and lets the browser choose how to localize the displayed time according to the user's preferences. For example, the server may have cached the following generated markup:\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014 4:30pm\n</local-time>\n```\n\nEvery visitor is served the same markup from the server's cache. When it reaches the browser, the custom `local-time` JavaScript localizes the element's text into the local timezone and formatting.\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  1 Apr 2014 21:30\n</local-time>\n```\n\nDates are displayed before months, and a 24-hour clock is used, according to the user's browser settings.\n\nIf the browser's JavaScript is disabled, the default text served in the cached markup is still displayed.\n\n## Installation\n\nAvailable on [npm](https://www.npmjs.com/) as [**time-elements**](https://www.npmjs.com/package/time-elements).\n\n```\n$ npm install time-elements\n```\n\n## Usage\n\nThis component provides three custom subtypes of the standard HTML `<time>` element. All custom time elements MUST have a `datetime` attribute set to an ISO 8601 formatted timestamp.\n\n### relative-time\n\nA relative time-ago-in-words description can be generated by using the `relative-time` element extension.\n\nAdd a `<relative-time>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2014).\n\n``` html\n<relative-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014\n</relative-time>\n```\n\nDepending on how far in the future this is being viewed, the element's text will be replaced with one of the following formats:\n\n- 6 years from now\n- 20 days from now\n- 4 hours from now\n- 7 minutes from now\n- just now\n- 30 seconds ago\n- a minute ago\n- 30 minutes ago\n- an hour ago\n- 20 hours ago\n- a day ago\n- 20 days ago\n- on Apr 1, 2014\n\nSo, a relative date phrase is used for up to a month and then the actual date is shown.\n\n### time-until\n\nYou can use `time-until` to always display a relative date that's in the future. It operates much like `<relative-time>`, except in the reverse, with past events shown as `just now` and future events always showing as relative:\n\n- 10 years from now\n- 20 days from now\n- 6 hours from now\n- 20 minutes from now\n- 30 seconds from now\n- just now\n\nAdd a `<time-until>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2024).\n\n``` html\n<time-until datetime=\"2024-04-01T16:30:00-08:00\">\n  April 1, 2024\n</time-until>\n```\n\n### time-ago\n\nAn *always* relative time-ago-in-words description can be generated by using the `time-ago` element extension. This is similar to the `relative-time` extension. However, this will never switch to displaying the date. It strictly shows relative date phrases, even after a month has passed.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\">\n  April 1, 2014\n</time-ago>\n```\n\nFor example, if this markup is viewed two years in the future, the element's text will read `2 years ago`.\n\n#### Micro format\n\nThe optional `format=\"micro\"` attribute shortens the descriptions to 1m, 1h, 1d, 1y.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\" format=\"micro\">\n  April 1, 2014\n</time-ago>\n```\n\n### local-time\n\nThis custom time extension is useful for formatting a date and time in the user's preferred locale format.\n\n``` html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\"\n    month=\"short\"\n    day=\"numeric\"\n    year=\"numeric\"\n    hour=\"numeric\"\n    minute=\"numeric\">\n  April 1, 2014 4:30PM PDT\n</local-time>\n```\n\nWhen this markup is viewed in a CDT timezone, it will show `Apr 1, 2014 6:30PM`. If it's viewed in a browser with European date preferences, it will read `1 Apr 2014 18:30`.\n\n### Options\n\nAttribute        | Options                      | Description\n---              | ---                          | ---\n`datetime`       | ISO 8601 date                | Required date of element `2014-06-01T13:05:07Z`\n`year`           | 2-digit, numeric             | Format year as `14` or `2014`\n`month`          | short, long                  | Format month as `Jun` or `June`\n`day`            | 2-digit, numeric             | Format day as `01` or `1`\n`weekday`        | short, long                  | Format weekday as `Sun` or `Sunday`\n`hour`           | 2-digit, numeric             | Format hour as `01` or `1`\n`minute`         | 2-digit, numeric             | Format minute as `05` or `5`\n`second`         | 2-digit, numeric             | Format second as `07` or `7`\n`time-zone-name` | short, long                  | Display time zone as `GMT+1` or by its full name\n\n## Browser Support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/#feat=custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## See Also\n\nMost of this implementation is based on Basecamp's [local_time](https://github.com/basecamp/local_time) component. Thanks to @javan for open sourcing that work and allowing for others to build on top of it.\n\n@rmm5t's [jquery-timeago](https://github.com/rmm5t/jquery-timeago) is one of the old time-ago-in-words JS plugins.\n","gitHead":"a3ca58104b68f490e28ee6f2768141f550dfed80","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"josh","email":"josh@joshpeek.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.3.1","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.2.0","karma":"^4.1.0","mocha":"^6.1.4","eslint":"^5.16.0","rollup":"^1.12.3","flow-bin":"^0.98.1","karma-chai":"^0.1.0","@babel/core":"^7.4.5","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^3.2.0","rollup-plugin-babel":"^4.3.2","eslint-plugin-github":"^2.0.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_3.0.0-beta.1_1559069125608_0.7525005515345371","host":"s3://npm-registry-packages"}},"3.0.0-beta.2":{"name":"time-elements","version":"3.0.0-beta.2","license":"MIT","_id":"time-elements@3.0.0-beta.2","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"51d1c79c938a9002e7264b27f755d9f8699f8e48","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-3.0.0-beta.2.tgz","fileCount":14,"integrity":"sha512-saFmE1evI4qolo5XPaVaHAg4gb8IUjEEu90HgS4gtPl+/Jast/ZJSAybtX9vFqFnINTBd3gq7e56ctCLaU0GTw==","signatures":[{"sig":"MEUCIQDYRI53n230OQjXGFxOLKbG3JPGgiFMGGdkGygKQphHKQIgfU1IOfpMVKJQCxTrdlen9LIQDm9w1XuAKaSNznoJf3E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":56821,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc97MZCRA9TVsSAnZWagAAknoP/0cOtgxcXYZ+yjlOErpe\nFyyS4GK9dlYO7y6KY50P5mDyPNA/5mIvwRLOFXUBi+UJtn2VETDfWqXrLYi0\nLQrR87vl9DHWQ7XiUdJJGWNRdCgJUD721VarhuNoW+z8CWOOZEsvOGqFafke\n1Ik/srPToKaGJAZdlWAg6SDNJ7dmeHRctjzEvBOj8IxKJsC3X3QgAOtUEGGu\n5+7uPysZo4+k4QBAbJQ55evT/Dn0+xuhjHygLkUlANaF624xm2qwW60Dlfbv\n5k/T0brJrLjIvYOzBIVg0ngIlxWhR+4F6MpWo1kTTWDT8+D7+lpqk2j/zcSF\nlF4JyhOL+KPC/y9ix2rFjpArK5pyydv3F7YzJJXDERncUFaQEGLMijfX2cWw\nN5FZqwWCV2VRLFbeqbeXqy1SgPhVBjDimZ6ZV38wH2LoBMLoAcF3belclBLG\nGTZBJhUqrKI66VW7lYs2ii7auubM23vTqc4Xn9OjUayF7hvNBpEKfklYfuiy\nk6L5SFReHYbVqmtX8hARhDKHUvzf2CfmLysff0+S7Wg/uoOGiLekJQg66EE4\nJgUfiVMz/hkDhoFYDmSYtDrhWZLLM1+mUX1NPpZQWFfgpbwQHT9eFDDNKxdZ\noeXxp4TQt3rLBCE8c+isF/z883FdLmU/pyyrXpo+DxlJBbdDGlpTGCj8uZua\nMwb6\r\n=WGg5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","readme":"# &lt;time&gt; element extensions\n\nFormats a timestamp as a localized string or as relative text that auto-updates in the user's browser.\n\nThis allows the server to cache HTML fragments containing dates and lets the browser choose how to localize the displayed time according to the user's preferences. For example, the server may have cached the following generated markup:\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014 4:30pm\n</local-time>\n```\n\nEvery visitor is served the same markup from the server's cache. When it reaches the browser, the custom `local-time` JavaScript localizes the element's text into the local timezone and formatting.\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  1 Apr 2014 21:30\n</local-time>\n```\n\nDates are displayed before months, and a 24-hour clock is used, according to the user's browser settings.\n\nIf the browser's JavaScript is disabled, the default text served in the cached markup is still displayed.\n\n## Installation\n\nAvailable on [npm](https://www.npmjs.com/) as [**time-elements**](https://www.npmjs.com/package/time-elements).\n\n```\n$ npm install time-elements\n```\n\n## Usage\n\nThis component provides three custom subtypes of the standard HTML `<time>` element. All custom time elements MUST have a `datetime` attribute set to an ISO 8601 formatted timestamp.\n\n### relative-time\n\nA relative time-ago-in-words description can be generated by using the `relative-time` element extension.\n\nAdd a `<relative-time>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2014).\n\n``` html\n<relative-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014\n</relative-time>\n```\n\nDepending on how far in the future this is being viewed, the element's text will be replaced with one of the following formats:\n\n- 6 years from now\n- 20 days from now\n- 4 hours from now\n- 7 minutes from now\n- just now\n- 30 seconds ago\n- a minute ago\n- 30 minutes ago\n- an hour ago\n- 20 hours ago\n- a day ago\n- 20 days ago\n- on Apr 1, 2014\n\nSo, a relative date phrase is used for up to a month and then the actual date is shown.\n\n### time-until\n\nYou can use `time-until` to always display a relative date that's in the future. It operates much like `<relative-time>`, except in the reverse, with past events shown as `just now` and future events always showing as relative:\n\n- 10 years from now\n- 20 days from now\n- 6 hours from now\n- 20 minutes from now\n- 30 seconds from now\n- just now\n\nAdd a `<time-until>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2024).\n\n``` html\n<time-until datetime=\"2024-04-01T16:30:00-08:00\">\n  April 1, 2024\n</time-until>\n```\n\n### time-ago\n\nAn *always* relative time-ago-in-words description can be generated by using the `time-ago` element extension. This is similar to the `relative-time` extension. However, this will never switch to displaying the date. It strictly shows relative date phrases, even after a month has passed.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\">\n  April 1, 2014\n</time-ago>\n```\n\nFor example, if this markup is viewed two years in the future, the element's text will read `2 years ago`.\n\n#### Micro format\n\nThe optional `format=\"micro\"` attribute shortens the descriptions to 1m, 1h, 1d, 1y.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\" format=\"micro\">\n  April 1, 2014\n</time-ago>\n```\n\n### local-time\n\nThis custom time extension is useful for formatting a date and time in the user's preferred locale format.\n\n``` html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\"\n    month=\"short\"\n    day=\"numeric\"\n    year=\"numeric\"\n    hour=\"numeric\"\n    minute=\"numeric\">\n  April 1, 2014 4:30PM PDT\n</local-time>\n```\n\nWhen this markup is viewed in a CDT timezone, it will show `Apr 1, 2014 6:30PM`. If it's viewed in a browser with European date preferences, it will read `1 Apr 2014 18:30`.\n\n### Options\n\nAttribute        | Options                      | Description\n---              | ---                          | ---\n`datetime`       | ISO 8601 date                | Required date of element `2014-06-01T13:05:07Z`\n`year`           | 2-digit, numeric             | Format year as `14` or `2014`\n`month`          | short, long                  | Format month as `Jun` or `June`\n`day`            | 2-digit, numeric             | Format day as `01` or `1`\n`weekday`        | short, long                  | Format weekday as `Sun` or `Sunday`\n`hour`           | 2-digit, numeric             | Format hour as `01` or `1`\n`minute`         | 2-digit, numeric             | Format minute as `05` or `5`\n`second`         | 2-digit, numeric             | Format second as `07` or `7`\n`time-zone-name` | short, long                  | Display time zone as `GMT+1` or by its full name\n\n## Browser Support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/#feat=custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## See Also\n\nMost of this implementation is based on Basecamp's [local_time](https://github.com/basecamp/local_time) component. Thanks to @javan for open sourcing that work and allowing for others to build on top of it.\n\n@rmm5t's [jquery-timeago](https://github.com/rmm5t/jquery-timeago) is one of the old time-ago-in-words JS plugins.\n","gitHead":"7d8ce763b2be185258fc7a8e862cf643e4e4930f","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"koddsson","email":"koddsson@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.3.1","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.2.0","karma":"^4.1.0","mocha":"^6.1.4","eslint":"^5.16.0","rollup":"^1.12.3","flow-bin":"^0.98.1","karma-chai":"^0.1.0","@babel/core":"^7.4.5","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^3.2.0","rollup-plugin-babel":"^4.3.2","eslint-plugin-github":"^2.0.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_3.0.0-beta.2_1559737113262_0.752231378948071","host":"s3://npm-registry-packages"}},"3.0.0-beta.3":{"name":"time-elements","version":"3.0.0-beta.3","license":"MIT","_id":"time-elements@3.0.0-beta.3","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"ce5921dcf3ae86b9e9af41efb9ef6c5982cb09e2","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-3.0.0-beta.3.tgz","fileCount":14,"integrity":"sha512-jrUVA7m6toN4962rio7tMelDmovqFCsy/oEWZ+RarYPBiPpaFEnmcKtjPNro5imm/yb3ieZFv55AvO8vBz5Xxg==","signatures":[{"sig":"MEUCIQCO/opKyImCLV4cWR/DCfDOOKazr3VYXb8EqmN71PQwyQIgPozc0oIniRaX1+Lr0nzynKKlF3P9R+RdPRaECbLHFZw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57439,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc+AnbCRA9TVsSAnZWagAAZgEP/jqIgzl+i0dOVbRst96s\n3eLYgV21FB4uOC60Hj7tHxQjTCtANo4UftVHH3yLitqlTNXk92H5wlt6v8iM\nNzTpZDSO1c2IcwoLCNe4OFNaFWW5i2dPeq0TTjxKaHRFkLuVJYRG01nlW8+m\n9GbxBOn54kZUGwE905yYP6H95Ai4HXkIklYyYQi6/W6K11oyJxNAT/2LzS3o\nW0ffhpnDOExFKzmJdRoVWFVr6Tk85wFLHI14SK6SK4j9YqJa3BJvIkfojiV3\npU6Gu0KrOopZhH9qDaVdixKpGEwMzU4FlPbHDAl/3+ZClq3zGTJ3vm28Jxgm\nSLDgOkbRQjgK1QGwbwJdGGjjxm1MbQ0wAMOz5J6g8M2T+OiSZOEy8pcjfMzV\nD6caADM7Tq35vcK3Ip8lLNfOTBDMkjcnGHZH0Gq9srkW80cdQzRgAVa1ytIL\nQ7nJJTCh7kltdvTGuTuxV3DVfO9mBByN1JF3vL23ls/JtC4xCZwm1NQjYcxQ\n+ZE+UvsmOpEZyrhvMuheeQYw5p8Xc381+WN+zpGKZTtsA+12BJe4A8DAmlZ8\nxau/gZCTGh99n/8rljYaIp3aOAgKj5mVYo0WWq6dKlKjDz9c13wc8uOSAzUU\npXCOwnFUZzFS9E2Tr5sbQiLroQRKkWSE2zRwLfAbqQ11apKTlbs19/1l7xLl\n126f\r\n=z5zi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","readme":"# &lt;time&gt; element extensions\n\nFormats a timestamp as a localized string or as relative text that auto-updates in the user's browser.\n\nThis allows the server to cache HTML fragments containing dates and lets the browser choose how to localize the displayed time according to the user's preferences. For example, the server may have cached the following generated markup:\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014 4:30pm\n</local-time>\n```\n\nEvery visitor is served the same markup from the server's cache. When it reaches the browser, the custom `local-time` JavaScript localizes the element's text into the local timezone and formatting.\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  1 Apr 2014 21:30\n</local-time>\n```\n\nDates are displayed before months, and a 24-hour clock is used, according to the user's browser settings.\n\nIf the browser's JavaScript is disabled, the default text served in the cached markup is still displayed.\n\n## Installation\n\nAvailable on [npm](https://www.npmjs.com/) as [**time-elements**](https://www.npmjs.com/package/time-elements).\n\n```\n$ npm install time-elements\n```\n\n## Usage\n\nThis component provides three custom subtypes of the standard HTML `<time>` element. All custom time elements MUST have a `datetime` attribute set to an ISO 8601 formatted timestamp.\n\n### relative-time\n\nA relative time-ago-in-words description can be generated by using the `relative-time` element extension.\n\nAdd a `<relative-time>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2014).\n\n``` html\n<relative-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014\n</relative-time>\n```\n\nDepending on how far in the future this is being viewed, the element's text will be replaced with one of the following formats:\n\n- 6 years from now\n- 20 days from now\n- 4 hours from now\n- 7 minutes from now\n- just now\n- 30 seconds ago\n- a minute ago\n- 30 minutes ago\n- an hour ago\n- 20 hours ago\n- a day ago\n- 20 days ago\n- on Apr 1, 2014\n\nSo, a relative date phrase is used for up to a month and then the actual date is shown.\n\n### time-until\n\nYou can use `time-until` to always display a relative date that's in the future. It operates much like `<relative-time>`, except in the reverse, with past events shown as `just now` and future events always showing as relative:\n\n- 10 years from now\n- 20 days from now\n- 6 hours from now\n- 20 minutes from now\n- 30 seconds from now\n- just now\n\nAdd a `<time-until>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2024).\n\n``` html\n<time-until datetime=\"2024-04-01T16:30:00-08:00\">\n  April 1, 2024\n</time-until>\n```\n\n### time-ago\n\nAn *always* relative time-ago-in-words description can be generated by using the `time-ago` element extension. This is similar to the `relative-time` extension. However, this will never switch to displaying the date. It strictly shows relative date phrases, even after a month has passed.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\">\n  April 1, 2014\n</time-ago>\n```\n\nFor example, if this markup is viewed two years in the future, the element's text will read `2 years ago`.\n\n#### Micro format\n\nThe optional `format=\"micro\"` attribute shortens the descriptions to 1m, 1h, 1d, 1y.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\" format=\"micro\">\n  April 1, 2014\n</time-ago>\n```\n\n### local-time\n\nThis custom time extension is useful for formatting a date and time in the user's preferred locale format.\n\n``` html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\"\n    month=\"short\"\n    day=\"numeric\"\n    year=\"numeric\"\n    hour=\"numeric\"\n    minute=\"numeric\">\n  April 1, 2014 4:30PM PDT\n</local-time>\n```\n\nWhen this markup is viewed in a CDT timezone, it will show `Apr 1, 2014 6:30PM`. If it's viewed in a browser with European date preferences, it will read `1 Apr 2014 18:30`.\n\n### Options\n\nAttribute        | Options                      | Description\n---              | ---                          | ---\n`datetime`       | ISO 8601 date                | Required date of element `2014-06-01T13:05:07Z`\n`year`           | 2-digit, numeric             | Format year as `14` or `2014`\n`month`          | short, long                  | Format month as `Jun` or `June`\n`day`            | 2-digit, numeric             | Format day as `01` or `1`\n`weekday`        | short, long                  | Format weekday as `Sun` or `Sunday`\n`hour`           | 2-digit, numeric             | Format hour as `01` or `1`\n`minute`         | 2-digit, numeric             | Format minute as `05` or `5`\n`second`         | 2-digit, numeric             | Format second as `07` or `7`\n`time-zone-name` | short, long                  | Display time zone as `GMT+1` or by its full name\n\n## Browser Support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/#feat=custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## See Also\n\nMost of this implementation is based on Basecamp's [local_time](https://github.com/basecamp/local_time) component. Thanks to @javan for open sourcing that work and allowing for others to build on top of it.\n\n@rmm5t's [jquery-timeago](https://github.com/rmm5t/jquery-timeago) is one of the old time-ago-in-words JS plugins.\n","gitHead":"175deae56f4f43a343a584a7cb92d7dcc9fb80c6","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"koddsson","email":"koddsson@gmail.com"},"repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.3.1","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"chai":"^4.2.0","karma":"^4.1.0","mocha":"^6.1.4","eslint":"^5.16.0","rollup":"^1.12.3","flow-bin":"^0.98.1","karma-chai":"^0.1.0","@babel/core":"^7.4.5","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^3.2.0","rollup-plugin-babel":"^4.3.2","eslint-plugin-github":"^2.0.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_3.0.0-beta.3_1559759323035_0.45359413916452884","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"time-elements","version":"3.0.0","license":"MIT","_id":"time-elements@3.0.0","maintainers":[{"name":"broccolini","email":"diana.mounter@gmail.com"},{"name":"dgraham","email":"david.malcom.graham@gmail.com"},{"name":"emilybrick","email":"emily.brick@buzzfeed.com"},{"name":"emplums","email":"eplummer26@gmail.com"},{"name":"jonrohan","email":"yes@jonrohan.codes"},{"name":"josh","email":"josh@joshpeek.com"},{"name":"keithamus","email":"npm@keithcirkel.co.uk"},{"name":"kevinsawicki","email":"kevinsawicki@gmail.com"},{"name":"koddsson","email":"koddsson@gmail.com"},{"name":"mdo","email":"markdotto@gmail.com"},{"name":"mislav","email":"mislav.marohnic@gmail.com"},{"name":"mschoening","email":"max@max.wtf"},{"name":"muan","email":"me@muanchiou.com"},{"name":"primer-css","email":"design-systems@github.com"},{"name":"shawnbot","email":"shawnbot-npm@nym.hush.com"}],"homepage":"https://github.com/github/time-elements#readme","bugs":{"url":"https://github.com/github/time-elements/issues"},"dist":{"shasum":"ba406ff18f65da51628f95f1ada70c9bc6e846d7","tarball":"https://registry.npmjs.org/time-elements/-/time-elements-3.0.0.tgz","fileCount":14,"integrity":"sha512-n2igsJYgf02J0nEP8wCyGeQziDhX+nvunW0Ngf6wFyz7T97aJZLYIbF2d6VLkLDMY5n/Tuydtbgeh/8OLQ8FOg==","signatures":[{"sig":"MEUCIQCXrwouPydxFHHXZa5Pz1yihb13Lm5peRPD81kdaD32hgIgL/nctCgVDnHJAIRu/Oo+iTqAc13mDmXBNF9Lk9Qv/88=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":57432,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh293fCRA9TVsSAnZWagAA5JYP/10i9Vr06lpoepqMwvux\n99klUzaSuw279H3KEk9c91xiIewpJJzrz3fvelAJdL8IguySngKJjvwmRmq6\nOfgdvfPIP+ULDSx4bX1HnWA8u7fCX9SjBvls9pH8J5Xp194eNn/iGbLpF4wq\nLPkksqgXFqM1R5bhjLpEpeCGY6ofaR6w6027cOJg2OsrbLlD6oWn5wSBS1UV\nFGGO0Br2wnoBuGTHM4eUoyWemesnn9TaHQ0OuW8bywmUf79/TJ0svXsdH2sx\nK0rb2ZzKDXrgu8KyBPiXAaQdswqGRg1vmwC0POw8WX9VfaXnU0j/eSfayc+q\n6wfaP4XuleMmlWQjCYlDX/YBVV9TeIQZUBEV0WPp3vgX+FEXwvJmX1SyCunV\nTDpw6XcE6BRPM7pJxiYiq4Smyvh8bJVi9Yw31UOkfoPVmCp5GD/C+moutQSA\nrDqUnUQVN+n4Y2blHES87UiJnLTSm19nT9D8vd6f++9ALPDnSvY0ivnv2I8l\n2UwZ6+RLMNITMHT9PcZApRCCeiAhLfKoXbdmh53vbEDIaqgGZXRWe+bA51mZ\n32+3xjgxNRgsuYs6dG46wKvy/a/ZX7VAKbmzKF23TQiIL7MqAI6QZ36V0peE\nCKKqNo1M/cduhbV60krC4zfJwUI6IkkrscZqsiolcAUi6dcHuuM6cRZhcVfB\ns+WB\r\n=zQIN\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/time-elements-legacy.js","module":"dist/time-elements.js","gitHead":"2c6fabdc9dcdb7a7ecfa8f8ff42ca6444e14c2d8","scripts":{"lint":"github-lint","test":"karma start ./test/karma.config.js","build":"rollup -c && cp src/index.js.flow dist/time-elements.js.flow && cp src/index.js.flow dist/time-elements-legacy.js.flow","clean":"rm -rf dist","pretest":"npm run build","prebuild":"npm run clean && npm run lint && mkdir dist","prepublishOnly":"npm run build"},"_npmUser":{"name":"koddsson","email":"koddsson@gmail.com"},"deprecated":"`time-elements` has been renamed to `@github/time-elements`.","repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"_npmVersion":"6.9.0","description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","directories":{},"_nodeVersion":"12.3.1","eslintIgnore":["dist/"],"_hasShrinkwrap":false,"devDependencies":{"chai":"^4.2.0","karma":"^4.1.0","mocha":"^6.1.4","eslint":"^5.16.0","rollup":"^1.12.3","flow-bin":"^0.98.1","karma-chai":"^0.1.0","@babel/core":"^7.4.5","karma-mocha":"^1.3.0","webcomponents.js":"^0.7.23","babel-preset-github":"^3.2.0","rollup-plugin-babel":"^4.3.2","eslint-plugin-github":"^2.0.0","karma-mocha-reporter":"^2.2.5","karma-chrome-launcher":"^2.2.0"},"_npmOperationalInternal":{"tmp":"tmp/time-elements_3.0.0_1560415501705_0.440084326634514","host":"s3://npm-registry-packages"}}},"time":{"created":"2016-07-01T20:50:33.785Z","modified":"2026-01-16T18:46:51.407Z","0.6.0":"2016-07-01T20:50:33.785Z","0.6.1":"2016-07-05T20:22:18.709Z","1.0.0":"2018-01-09T09:08:50.804Z","1.0.1":"2018-03-09T17:22:58.356Z","1.0.2":"2018-03-09T17:27:09.056Z","1.1.0":"2018-05-23T20:20:02.963Z","1.2.0":"2018-07-25T23:14:02.091Z","2.0.0":"2019-02-22T12:15:08.675Z","2.0.1":"2019-05-16T08:35:53.027Z","2.0.2":"2019-05-16T09:11:30.638Z","3.0.0-beta.1":"2019-05-28T18:45:25.709Z","3.0.0-beta.2":"2019-06-05T12:18:33.418Z","3.0.0-beta.3":"2019-06-05T18:28:43.234Z","3.0.0":"2019-06-13T08:45:01.842Z"},"bugs":{"url":"https://github.com/github/time-elements/issues"},"license":"MIT","homepage":"https://github.com/github/time-elements#readme","repository":{"url":"git+https://github.com/github/time-elements.git","type":"git"},"description":"Formats a timestamp as a localized string or as relative text that auto-updates in the user's browser.","maintainers":[{"email":"manuelpuyol@github.com","name":"manuelpuyol"},{"email":"yes@jonrohan.codes","name":"jonrohan"},{"email":"design-systems@github.com","name":"primer-css"},{"email":"lugraciecy@gmail.com","name":"gracepark"},{"email":"jibrang@github.com","name":"jibrangarcia"},{"email":"arelia.jones@gmail.com","name":"arelia"},{"email":"tylerjdev@github.com","name":"tylerthedev"},{"email":"clay@smockle.com","name":"smockle"},{"email":"sim@simurai.com","name":"simurai"},{"email":"katehiga8@gmail.com","name":"khiga8"},{"email":"dustin.greif@gmail.com","name":"dustin.greif"},{"email":"simon.taranto@gmail.com","name":"srt32"},{"email":"dgreif+githubbotnpm@github.com","name":"githubbot"},{"email":"jonathan.fuchs@gmail.com","name":"jfuchs"},{"email":"andri.j.alexandrou@gmail.com","name":"andrialexandrou"},{"email":"bteng22@gmail.com","name":"bteng22"},{"email":"dustin.savery@gmail.com","name":"dustin.savery"},{"email":"ncalteen@github.com","name":"ncalteen"},{"email":"kevinsawicki@gmail.com","name":"kevinsawicki"}],"readme":"# &lt;time&gt; element extensions\n\nFormats a timestamp as a localized string or as relative text that auto-updates in the user's browser.\n\nThis allows the server to cache HTML fragments containing dates and lets the browser choose how to localize the displayed time according to the user's preferences. For example, the server may have cached the following generated markup:\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014 4:30pm\n</local-time>\n```\n\nEvery visitor is served the same markup from the server's cache. When it reaches the browser, the custom `local-time` JavaScript localizes the element's text into the local timezone and formatting.\n\n```html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\">\n  1 Apr 2014 21:30\n</local-time>\n```\n\nDates are displayed before months, and a 24-hour clock is used, according to the user's browser settings.\n\nIf the browser's JavaScript is disabled, the default text served in the cached markup is still displayed.\n\n## Installation\n\nAvailable on [npm](https://www.npmjs.com/) as [**time-elements**](https://www.npmjs.com/package/time-elements).\n\n```\n$ npm install time-elements\n```\n\n## Usage\n\nThis component provides three custom subtypes of the standard HTML `<time>` element. All custom time elements MUST have a `datetime` attribute set to an ISO 8601 formatted timestamp.\n\n### relative-time\n\nA relative time-ago-in-words description can be generated by using the `relative-time` element extension.\n\nAdd a `<relative-time>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2014).\n\n``` html\n<relative-time datetime=\"2014-04-01T16:30:00-08:00\">\n  April 1, 2014\n</relative-time>\n```\n\nDepending on how far in the future this is being viewed, the element's text will be replaced with one of the following formats:\n\n- 6 years from now\n- 20 days from now\n- 4 hours from now\n- 7 minutes from now\n- just now\n- 30 seconds ago\n- a minute ago\n- 30 minutes ago\n- an hour ago\n- 20 hours ago\n- a day ago\n- 20 days ago\n- on Apr 1, 2014\n\nSo, a relative date phrase is used for up to a month and then the actual date is shown.\n\n### time-until\n\nYou can use `time-until` to always display a relative date that's in the future. It operates much like `<relative-time>`, except in the reverse, with past events shown as `just now` and future events always showing as relative:\n\n- 10 years from now\n- 20 days from now\n- 6 hours from now\n- 20 minutes from now\n- 30 seconds from now\n- just now\n\nAdd a `<time-until>` element to your markup. Provide a default formatted date as the element's text content (e.g. April 1, 2024).\n\n``` html\n<time-until datetime=\"2024-04-01T16:30:00-08:00\">\n  April 1, 2024\n</time-until>\n```\n\n### time-ago\n\nAn *always* relative time-ago-in-words description can be generated by using the `time-ago` element extension. This is similar to the `relative-time` extension. However, this will never switch to displaying the date. It strictly shows relative date phrases, even after a month has passed.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\">\n  April 1, 2014\n</time-ago>\n```\n\nFor example, if this markup is viewed two years in the future, the element's text will read `2 years ago`.\n\n#### Micro format\n\nThe optional `format=\"micro\"` attribute shortens the descriptions to 1m, 1h, 1d, 1y.\n\n``` html\n<time-ago datetime=\"2012-04-01T16:30:00-08:00\" format=\"micro\">\n  April 1, 2014\n</time-ago>\n```\n\n### local-time\n\nThis custom time extension is useful for formatting a date and time in the user's preferred locale format.\n\n``` html\n<local-time datetime=\"2014-04-01T16:30:00-08:00\"\n    month=\"short\"\n    day=\"numeric\"\n    year=\"numeric\"\n    hour=\"numeric\"\n    minute=\"numeric\">\n  April 1, 2014 4:30PM PDT\n</local-time>\n```\n\nWhen this markup is viewed in a CDT timezone, it will show `Apr 1, 2014 6:30PM`. If it's viewed in a browser with European date preferences, it will read `1 Apr 2014 18:30`.\n\n### Options\n\nAttribute        | Options                      | Description\n---              | ---                          | ---\n`datetime`       | ISO 8601 date                | Required date of element `2014-06-01T13:05:07Z`\n`year`           | 2-digit, numeric             | Format year as `14` or `2014`\n`month`          | short, long                  | Format month as `Jun` or `June`\n`day`            | 2-digit, numeric             | Format day as `01` or `1`\n`weekday`        | short, long                  | Format weekday as `Sun` or `Sunday`\n`hour`           | 2-digit, numeric             | Format hour as `01` or `1`\n`minute`         | 2-digit, numeric             | Format minute as `05` or `5`\n`second`         | 2-digit, numeric             | Format second as `07` or `7`\n`time-zone-name` | short, long                  | Display time zone as `GMT+1` or by its full name\n\n## Browser Support\n\nBrowsers without native [custom element support][support] require a [polyfill][].\n\n- Chrome\n- Firefox\n- Safari\n- Microsoft Edge\n\n[support]: https://caniuse.com/#feat=custom-elementsv1\n[polyfill]: https://github.com/webcomponents/custom-elements\n\n## See Also\n\nMost of this implementation is based on Basecamp's [local_time](https://github.com/basecamp/local_time) component. Thanks to @javan for open sourcing that work and allowing for others to build on top of it.\n\n@rmm5t's [jquery-timeago](https://github.com/rmm5t/jquery-timeago) is one of the old time-ago-in-words JS plugins.\n","readmeFilename":"README.md"}