{"_id":"relative-date","_rev":"24-862be7a14f655f73fd0131647b963b4f","name":"relative-date","time":{"modified":"2022-06-26T10:53:40.825Z","created":"2011-03-09T00:35:13.485Z","1.0.0":"2011-03-09T00:35:13.779Z","1.1.0":"2011-07-21T09:11:44.211Z","1.1.1":"2011-10-15T08:15:17.722Z","1.1.2":"2015-02-26T07:29:33.251Z","2.0.0":"2016-03-22T23:50:58.530Z","1.1.3":"2016-03-23T01:49:24.334Z"},"maintainers":[{"name":"nmjohnson","email":"node@njohnson.me"}],"dist-tags":{"latest":"1.1.3"},"readme":"Javascript module for outputting relative dates. Tested platforms: Node, Firefox 3.6, Chromium 8.0\n\nInstall\n=======\nnpm install relative-date\n\nUsage\n=====\nOn browsers:\n\n```js\n<script src=\"relative-date.js\"></script>\n<script>\n  assert( relativeDate(new Date()), 'just now' );\n  assert( relativeDate(1299627946000), '12 minutes ago');\n  assert( relativeDate(0), '41 years ago');\n</script>\n```\n\nOn a CommonJS compliant environment:\n\n```js\n> var relativeDate = require('relative-date');\n> relativeDate(new Date())\n'just now'\n> relativeDate(1299627946000)\n'12 minutes ago'\n> relativeDate(0)\n'41 years ago'\n```\n    \nTesting\n=======\nnode test/node.js || test/browser.html\n","versions":{"2.0.0":{"name":"relative-date","version":"2.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":"","license":"ISC","_id":"relative-date@2.0.0","_shasum":"9095f59530aecceee3985d6861a1c543828fb304","_from":".","_npmVersion":"3.7.2","_nodeVersion":"4.3.0","_npmUser":{"name":"nj48","email":"spam@njohnson.me"},"dist":{"shasum":"9095f59530aecceee3985d6861a1c543828fb304","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-2.0.0.tgz","integrity":"sha512-7RwA5p0uODQo7GpT5h53Cn0u21otJ4PgMN0BvFRY9mf1kqkriszMHp79r0mABXDZloeUmNarMLdKWD/tATs6Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHGc0DaCeezDQW4+T5VU30V3UtdNqpQM+DVRA/DnFdzcAiEAgqc7icuB4VRg+DfCCnqLZzJTBxde/wGxvFqtNJG4BPY="}]},"maintainers":[{"name":"nj48","email":"spam@njohnson.me"}],"directories":{}},"1.1.3":{"name":"relative-date","version":"1.1.3","description":"Javascript module for outputting relative dates.","author":{"name":"Azer Koculu","email":"azer@kodfabrik.com","url":"http://azer.kodfabrik.com"},"keywords":["pretty","date","timestamp","format","human-readable","relative"],"directories":{"lib":"./lib"},"main":"./lib/relative-date","homepage":"https://github.com/n-johnson/relative-date","repository":{"type":"git","url":"git+ssh://git@github.com/n-johnson/relative-date.git"},"scripts":{"test":"node test/node.js"},"component":{"scripts":{"relative-date":"./lib/relative-date"}},"gitHead":"a381980727408ea382aed0167dfd8306da70fc36","bugs":{"url":"https://github.com/n-johnson/relative-date/issues"},"_id":"relative-date@1.1.3","_shasum":"120903040588ec7a4a399c6547fd01d0e3d2dc63","_from":".","_npmVersion":"3.7.2","_nodeVersion":"4.3.0","_npmUser":{"name":"nj48","email":"nj48001@gmail.com"},"dist":{"shasum":"120903040588ec7a4a399c6547fd01d0e3d2dc63","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-1.1.3.tgz","integrity":"sha512-ith07IIjHojxuanrO+BNNxlpVCWyDzW3CELT+u4F/G7sdbifp5I+nXT8sVHLK3pl+ALhxhnr52/0XdEa+MrxEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCMMUsTowln+M4P3T0A1caKLaOVUNZ+lLvgT+BgLJ40SgIgdsmMJK9y/Vivr9Bgkhad/c8vnLVx9/B4l1GD2UKi6Hc="}]},"maintainers":[{"name":"nj48","email":"spam@njohnson.me"}]},"1.0.0":{"name":"relative-date","version":"1.0.0","description":"Javascript module for outputting relative dates.","author":"Azer Koculu <azer@kodfabrik.com> (http://azer.kodfabrik.com)","keywords":["pretty","date","timestamp","format","human-readable","relative"],"directories":{"lib":"./lib"},"main":"./lib/relative-date","engines":{"node":"*"},"modules":{"observer.js":"lib/relative-date.js"},"files":[""],"homepage":"http://github.com/azer/relative-date","repository":{"type":"git","url":"http://github.com/azer/relative-date.git"},"scripts":{"test":"node test/node.js"},"_id":"relative-date@1.0.0","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"e278c6db985bb531c5c65b839b41748d64c55708","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"e278c6db985bb531c5c65b839b41748d64c55708","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-1.0.0.tgz","integrity":"sha512-jrA+9cNVSKczRB8ElvRwNMTGPYzeF3F0UyQ1EzSTwbFuw7tIXjmmTdATENlZeVkV9L2KomTD8n56ykFTB0jyFg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAF0I1nwizPyNbeMGDbDsUcQc4y8ZWezQtNPEDE4pJ4uAiEA78t/k6HTLEYeBUtSq5HVBdcSNWX6neN0EuYbXviPXw4="}]},"maintainers":[{"name":"nmjohnson","email":"node@njohnson.me"}]},"1.1.0":{"name":"relative-date","version":"1.1.0","description":"Javascript module for outputting relative dates.","author":"Azer Koculu <azer@kodfabrik.com> (http://azer.kodfabrik.com)","keywords":["pretty","date","timestamp","format","human-readable","relative"],"directories":{"lib":"./lib"},"main":"./lib/relative-date","engines":{"node":"*"},"homepage":"http://github.com/azer/relative-date","repository":{"type":"git","url":"http://github.com/azer/relative-date.git"},"scripts":{"test":"node test/node.js"},"_id":"relative-date@1.1.0","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"9c11491c498ab09c3e2331dd98c8cb68c6811552","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"9c11491c498ab09c3e2331dd98c8cb68c6811552","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-1.1.0.tgz","integrity":"sha512-7SvO5A0e18bPVt7PhLDMwFOfxJhBQL30YQsGocNqwb7D8Mo42RGpwyysFUhhr6Pq83AubGXUZyhuce3NGA7H/w==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEoE6bkEyiQx8I6nKiW+ylzLGDDw/OuE8PItDyUspOhUAiEAobKyvjwLgGs69mUzwEJqcpK8Sawb9/OELFPv70nIDjg="}]},"maintainers":[{"name":"nmjohnson","email":"node@njohnson.me"}]},"1.1.1":{"name":"relative-date","version":"1.1.1","description":"Javascript module for outputting relative dates.","author":"Azer Koculu <azer@kodfabrik.com> (http://azer.kodfabrik.com)","keywords":["pretty","date","timestamp","format","human-readable","relative"],"directories":{"lib":"./lib"},"main":"./lib/relative-date","homepage":"http://github.com/azer/relative-date","repository":{"type":"git","url":"http://github.com/azer/relative-date.git"},"scripts":{"test":"node test/node.js"},"_id":"relative-date@1.1.1","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"75c97c5446fa1146c1d250c47ca3629fb9a2e764","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"75c97c5446fa1146c1d250c47ca3629fb9a2e764","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-1.1.1.tgz","integrity":"sha512-r9SMshLUbAf6B4Povpn+2D0zeNy4YwNyarNHREczSQO6hfuYkVkxCfB/mkeRnm1HTwQzvw26DAwwSmGy8v+4hg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAIzULjeb4pjgt61yu7KXBNjc//BuHMlG5DeA8L6K0iQAiBAepDRlpZku/jLSSt8D59edPje75APEadjPMV6QNzpSA=="}]},"maintainers":[{"name":"nmjohnson","email":"node@njohnson.me"}]},"1.1.2":{"name":"relative-date","version":"1.1.2","description":"Javascript module for outputting relative dates.","author":"Azer Koculu <azer@kodfabrik.com> (http://azer.kodfabrik.com)","keywords":["pretty","date","timestamp","format","human-readable","relative"],"directories":{"lib":"./lib"},"main":"./lib/relative-date","homepage":"http://github.com/azer/relative-date","repository":{"type":"git","url":"http://github.com/azer/relative-date.git"},"scripts":{"test":"node test/node.js"},"component":{"scripts":{"relative-date":"./lib/relative-date"}},"_id":"relative-date@1.1.2","_npmVersion":"0.0.0-fake","_nodeVersion":"0.0.0-fake","_shasum":"89b990c49bc543052929f34bc76d263605edb964","_npmUser":{"name":"npm","email":"support@npmjs.com"},"_from":".","dist":{"shasum":"89b990c49bc543052929f34bc76d263605edb964","tarball":"https://registry.npmjs.org/relative-date/-/relative-date-1.1.2.tgz","integrity":"sha512-mEJq4ev0UnMSXd5O5hJekPJH+i4yVX5glCyYWTZHvHqR6hjxtGLsbY65QjTz8ghBkhibWd+kd+N+/aVPDhHXUQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDTbmfaqdk0D24i7pR8OoqL6bFDOlJGfakqUoCdpX0f4AIhAO/0qSdZ3zA/xi1SK0o889crtiJUeSBHdwtIMsDZVBxM"}]},"maintainers":[{"name":"nmjohnson","email":"node@njohnson.me"}]}},"readmeFilename":"README.md","description":"Javascript module for outputting relative dates.","homepage":"https://github.com/n-johnson/relative-date","keywords":["pretty","date","timestamp","format","human-readable","relative"],"repository":{"type":"git","url":"git+ssh://git@github.com/n-johnson/relative-date.git"},"author":{"name":"Azer Koculu","email":"azer@kodfabrik.com","url":"http://azer.kodfabrik.com"},"bugs":{"url":"https://github.com/n-johnson/relative-date/issues"},"users":{"benediktvaldez":true,"maxidr":true}}