{"_id":"human-time","_rev":"8-1959bf0a4d72c30a64d6a21dafd408b2","name":"human-time","description":"show seconds in a human-readable form","dist-tags":{"latest":"0.0.2"},"versions":{"0.0.0":{"name":"human-time","version":"0.0.0","description":"show seconds in a human-readable form","main":"human.js","scripts":{"test":"node tests/javascript.js"},"repository":{"type":"git","url":"https://github.com/bahamas10/human.git"},"keywords":["human","relative","date","ago","time"],"author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"license":"MIT","bugs":{"url":"https://github.com/bahamas10/human/issues"},"homepage":"https://github.com/bahamas10/human","gitHead":"70f9e0c7dd6a3d28d2b7292cee0946e1c9cfd3f1","_id":"human-time@0.0.0","_shasum":"f0a6199bb79fa16a6aabcad04af95071b0b4f6ee","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"dist":{"shasum":"f0a6199bb79fa16a6aabcad04af95071b0b4f6ee","tarball":"https://registry.npmjs.org/human-time/-/human-time-0.0.0.tgz","integrity":"sha512-mas7qrULN58GW2C5PSm8veenYcPLLyI54SF+Ek2Ss8pEDMy6ysxL4q4iNfNqs1JmCuQ4yCcoQe7J6a2cEiFAzQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHwuu7hLNu5Ah6sr+VkH8A3fPkzCf4R4epzla0Kw253kAiAlTi4+p1/VcLbGKIIKz98rrQRLZpiRAAtbPl8UVpV3aA=="}]},"directories":{}},"0.0.1":{"name":"human-time","version":"0.0.1","description":"show seconds in a human-readable form","main":"human.js","scripts":{"test":"node tests/javascript.js"},"repository":{"type":"git","url":"https://github.com/bahamas10/human.git"},"keywords":["human","relative","date","ago","time"],"author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"license":"MIT","bugs":{"url":"https://github.com/bahamas10/human/issues"},"homepage":"https://github.com/bahamas10/human","gitHead":"39c52f3ea9b969d25e05bb7399951d05de65ac99","_id":"human-time@0.0.1","_shasum":"280d0336379199306b2e1518e3d5f6381cb8507d","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"dist":{"shasum":"280d0336379199306b2e1518e3d5f6381cb8507d","tarball":"https://registry.npmjs.org/human-time/-/human-time-0.0.1.tgz","integrity":"sha512-A+xgXNarLizEqp9iHGy9Y4dII0VI/b0NV3qzpdjlInsiLouojaXUG1mLEMMWxlO2X7Kbg+UYw+18oKb74ZWwXQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC27TRZWlpj+1Tbju6IpAuhmBYcCIMcnniFYeSLhgb67gIgJwTLAWE3/l+YDzVFt4tQB9ukWOw4k9QKT0E/MMyEAB4="}]},"directories":{}},"0.0.2":{"name":"human-time","version":"0.0.2","description":"show seconds in a human-readable form","main":"human.js","scripts":{"test":"node tests/javascript.js"},"repository":{"type":"git","url":"git+https://github.com/bahamas10/human.git"},"keywords":["human","relative","date","ago","time"],"author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"license":"MIT","bugs":{"url":"https://github.com/bahamas10/human/issues"},"homepage":"https://github.com/bahamas10/human","gitHead":"a1dd7dab562fabce86e98395bc70ae8426bb188e","_id":"human-time@0.0.2","_npmVersion":"6.1.0","_nodeVersion":"10.7.0","_npmUser":{"name":"bahamas10","email":"dave@daveeddy.com"},"dist":{"integrity":"sha512-sbYI90YhYmstslPTb70BLGjy6mdESa0lxL7uDR4fIVAx9Iobz8fLEqi7FqF4Q/6vblrzZALg//MsYJlIPBU8SA==","shasum":"566d04452ef5c24755c465b7b50fa103c41306c9","tarball":"https://registry.npmjs.org/human-time/-/human-time-0.0.2.tgz","fileCount":7,"unpackedSize":5841,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcJHYnCRA9TVsSAnZWagAA0MMQAIiDhPGGwW4KerhPD0qp\nubVZPr0SM+mUpCpycc173ltIIuprKE0d2Nr/7DkHlLv2KVIoetBmwK2su/jV\n3Ajo71Y1e0JCuZFqInuYz+wM+Cenb0GxSD/XtXNZKDRVaul+oGNgdKV8A0lI\n316uBX2ln0Zq5WkRIQtS/l0aZZalIHCCvPAzhwXRywHhsS9S/A5tfj0JLToU\no2KxepBkhspIrjzry6PXjtJMzgAatGbcJpmXkt6ihTnbvSyEF5R1MOGRrT6K\nTWOuGUqsN1HWc2E0qKNX2Clth9ynZySohv83IkNMzmFxc6J4w7WKJyseANOZ\nx5qX55pnG90fdjEfTVaVdg6Aso05N2pqm5pmsV2dvmVK7QJq2sFbdvJLOwKa\nm03eaQlAWnJKmWIXl/qj1nVVOvDuV8dW1Dl6WMRhHoGuYEP8YyeB3/apmgl3\nyoI5sri5q6zWoBjvwRT+fX183/xr5s+Msm1aYdI50TTHA786dRbTOJ6TP2RC\nxdlsqe/NeEel3mJNV5j6EdRW9KZcK2gfbxDRe4DyPWDY1NkLvU1+M0Kc4l0V\nb+mgk+zSbAoXxkQ0xiAIfaB5JcuPlWBOAmL4OrzlrDixBUAI+vXhEBxKFXTN\nDQhoPuxCNZp33PdzdXhr8/XHHPSo5Lk5dJPY4jH2XWdTRYB5wegVtsgE8ll1\nkmSL\r\n=8Oun\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuyNs2AGPOtrD6ce2g2Xrbmo7LG/Q4IqwbLe1lV9FWEgIhAJccgX50gLhNB17CkvwzzQcVqb4GRDYFc24+iVH67wlF"}]},"maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/human-time_0.0.2_1545893415056_0.6538891859674831"},"_hasShrinkwrap":false}},"readme":"human\n=====\n\nshow seconds in a human-readable form\n\nUsage\n-----\n\nThis repository comes with a couple of implementations of the base algorithm in\ndifferent languages.  You can use any by simply dropping the logic into your\nsource code.\n\nNode.JS\n-------\n\nYou can install the javascript version of this with\n\n    npm install human-time\n\nand use it like\n\n``` js\nvar human = require('human-time');\n\nhuman(754);\n// => \"12 minutes ago\"\n\nhuman(new Date(Date.now() + 5 * 1000))\n// => \"5 seconds from now\"\n\nhuman(new Date(Date.now() - 5 * 1000))\n// => \"5 seconds ago\"\n```\n\nExample (C)\n-----------\n\ncompile\n\n    make\n\nrun\n\n    $ ./human 65\n    1 minute\n    $ ./human 600\n    10 minutes\n\nWith the C example, you can optionally pass `-s` to get a suffix\n\n    $ ./human 57483\n    15 hours\n    $ ./human -s 57483\n    15 hours from now\n    $ ./human -s -57483\n    15 hours ago\n\nLicense\n-------\n\nMIT\n","maintainers":[{"name":"bahamas10","email":"dave@daveeddy.com"}],"time":{"modified":"2022-06-18T23:09:48.474Z","created":"2015-02-20T23:07:43.078Z","0.0.0":"2015-02-20T23:07:43.078Z","0.0.1":"2015-04-16T05:23:13.744Z","0.0.2":"2018-12-27T06:50:15.163Z"},"homepage":"https://github.com/bahamas10/human","keywords":["human","relative","date","ago","time"],"repository":{"type":"git","url":"git+https://github.com/bahamas10/human.git"},"author":{"name":"Dave Eddy","email":"dave@daveeddy.com","url":"http://www.daveeddy.com"},"bugs":{"url":"https://github.com/bahamas10/human/issues"},"license":"MIT","readmeFilename":"README.md","users":{"goliatone":true}}