{"_id":"@arisyntek/odate","_rev":"10-16feba80a72d9e869263135b0bcca0c3","name":"@arisyntek/odate","dist-tags":{"latest":"1.2.1"},"versions":{"1.0.2":{"name":"@arisyntek/odate","version":"1.0.2","keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"author":{"name":"Arisyntek"},"license":"MIT","_id":"@arisyntek/odate@1.0.2","maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"homepage":"https://github.com/arisyntek/odate","bugs":{"url":"https://github.com/arisyntek/odate/issues"},"dist":{"shasum":"d0cc1f7898c821d1dbe90ff20fa3a1119e97d498","tarball":"https://registry.npmjs.org/@arisyntek/odate/-/odate-1.0.2.tgz","fileCount":7,"integrity":"sha512-y0iVtzZZ7qUxwOu4U4RBYKA6+TfjrcZEHxQC8fiF82GJ67PahdV49Ti/6TI4SVqa/RaCwmPvAKR5edrkqcNemg==","signatures":[{"sig":"MEQCIGHU5BXwoZX9dqa2T+H/TBbkqFAxbw4EP9e9rZL8qTFnAiBu/ehbcJOpHB8Yy0x0NE87RuhTd2MDZ1pllTKunMeIdA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8376},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"81f25d18426d0222038ed883d04ded36e1d98441","scripts":{"lint":"eslint src/ --fix","test":"vitest run","build":"tsc","format":"prettier --write src/","test:watch":"vitest","format:check":"prettier --check src/","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"denwwer","email":"denwwer.c4@gmail.com"},"repository":{"url":"git+https://github.com/arisyntek/odate.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight utility that converts timestamps into clean, human-readable dates.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"2.6.1","eslint":"9.39.1","vitest":"4.0.8","prettier":"3.6.2","@eslint/js":"9.39.1","typescript":"5.9.3","typescript-eslint":"8.46.3","@vitest/coverage-v8":"4.0.8","eslint-config-prettier":"10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/odate_1.0.2_1763244685943_0.0005659084534999081","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@arisyntek/odate","version":"1.1.0","keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"author":{"name":"Arisyntek"},"license":"MIT","_id":"@arisyntek/odate@1.1.0","maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"homepage":"https://github.com/arisyntek/odate","bugs":{"url":"https://github.com/arisyntek/odate/issues"},"dist":{"shasum":"a105abbad59365bc6d44a686223cfae3340f23b4","tarball":"https://registry.npmjs.org/@arisyntek/odate/-/odate-1.1.0.tgz","fileCount":7,"integrity":"sha512-sDx+lYhRcfULBvDL0ABY9DgaKXsx2Klg9GmF9DXtwTN90AYBpz7vY58LK12bIMwkjFsJOgEw2Q//sTALUVnr0g==","signatures":[{"sig":"MEUCIGyp69OQIYZMRGpN3SRfJ4RVn0FuPZj2agHI/NB9eoGvAiEAvml9VvdAGTqKPuAyqfOObJwSGLVKsczbpmluu/gvGO4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9671},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"77b5b348e11c218783aa0261a71cbc6f8b4323ea","scripts":{"lint":"eslint src/ --fix","test":"vitest run","build":"tsc","format":"prettier --write src/","publish":"npm run build && npm publish --access public","test:watch":"vitest","format:check":"prettier --check src/","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"denwwer","email":"denwwer.c4@gmail.com"},"repository":{"url":"git+https://github.com/arisyntek/odate.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight utility that converts timestamps into clean, human-readable dates.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"2.6.1","eslint":"9.39.1","vitest":"4.0.8","prettier":"3.6.2","@eslint/js":"9.39.1","typescript":"5.9.3","typescript-eslint":"8.46.3","@vitest/coverage-v8":"4.0.8","eslint-config-prettier":"10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/odate_1.1.0_1763393382712_0.7079759913617165","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@arisyntek/odate","version":"1.1.1","keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"author":{"name":"Arisyntek"},"license":"MIT","_id":"@arisyntek/odate@1.1.1","maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"homepage":"https://github.com/arisyntek/odate","bugs":{"url":"https://github.com/arisyntek/odate/issues"},"dist":{"shasum":"c430d619f46e999df8c6403264dd103d31cb4efa","tarball":"https://registry.npmjs.org/@arisyntek/odate/-/odate-1.1.1.tgz","fileCount":7,"integrity":"sha512-TmjxNKf94UbuvrTpofM4pceCMHXYL+GWUoLommneeP/yFmlm+4Hr9XxMoVY1EOKeHUo8NS1XhnWq2FCC90XMvQ==","signatures":[{"sig":"MEUCIQDs0uzxXZ9R3gvBPorEKICoBa8oCgyDyF407IWSQY/10gIga0XTi3HM58XFBK9YwiJR2BeGOkwTCYYcqbsoIEDmYWk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9718},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"902d8e9dea9dd867251e102f821be6428add05bd","scripts":{"lint":"eslint src/ --fix","test":"vitest run","build":"tsc","format":"prettier --write src/","publish":"npm run build && npm publish --access public","test:watch":"vitest","format:check":"prettier --check src/","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"denwwer","email":"denwwer.c4@gmail.com"},"repository":{"url":"git+https://github.com/arisyntek/odate.git","type":"git"},"_npmVersion":"11.6.2","description":"A lightweight utility that converts timestamps into clean, human-readable dates.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"2.6.1","eslint":"9.39.1","vitest":"4.0.8","prettier":"3.6.2","@eslint/js":"9.39.1","typescript":"5.9.3","typescript-eslint":"8.46.3","@vitest/coverage-v8":"4.0.8","eslint-config-prettier":"10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/odate_1.1.1_1763994320641_0.31723689597734617","host":"s3://npm-registry-packages-npm-production"}},"1.1.2":{"name":"@arisyntek/odate","version":"1.1.2","keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"author":{"name":"Arisyntek"},"license":"MIT","_id":"@arisyntek/odate@1.1.2","maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"homepage":"https://github.com/arisyntek/odate","bugs":{"url":"https://github.com/arisyntek/odate/issues"},"dist":{"shasum":"8960ba7ff97f91204c359bdc5060d01968d36156","tarball":"https://registry.npmjs.org/@arisyntek/odate/-/odate-1.1.2.tgz","fileCount":7,"integrity":"sha512-tvK0Bu4Ro6H5jNpGuzoj2Vbrbe0vGX5xlLJ1Dy6WLAEzDX4Euw5FNNK2DfqYxITS8P8PqOdV0pcexQQE/rzkvg==","signatures":[{"sig":"MEUCIFvJwhSFLsLTUmhBjDQQ08yPmp5OlKjrfuBzPqhCmiHqAiEA7azsG+3FYtW6EL+/mGhG88pAqkiGsAQAIK442ZwLpeM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9816},"main":"dist/index.js","type":"module","types":"dist/index.d.ts","module":"dist/index.js","browser":"dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"gitHead":"58fbabf3f7b2288b0a290376ffc6fe73d57e571c","scripts":{"lint":"eslint src/ --fix","test":"vitest run","build":"tsc","format":"prettier --write src/","publish":"npm run build && npm publish --access public","test:watch":"vitest","format:check":"prettier --check src/","test:coverage":"vitest run --coverage"},"_npmUser":{"name":"denwwer","email":"denwwer.c4@gmail.com"},"repository":{"url":"git+https://github.com/arisyntek/odate.git","type":"git"},"_npmVersion":"11.11.0","description":"A lightweight utility that converts timestamps into clean, human-readable dates.","directories":{},"_nodeVersion":"22.16.0","_hasShrinkwrap":false,"devDependencies":{"jiti":"2.6.1","eslint":"9.39.1","vitest":"4.0.8","prettier":"3.6.2","@eslint/js":"9.39.1","typescript":"5.9.3","typescript-eslint":"8.46.3","@vitest/coverage-v8":"4.0.8","eslint-config-prettier":"10.1.8"},"_npmOperationalInternal":{"tmp":"tmp/odate_1.1.2_1788805743948_0.06644728797526445","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@arisyntek/odate","version":"1.2.1","description":"A lightweight utility that converts timestamps into clean, human-readable dates.","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","browser":"dist/index.js","type":"module","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"scripts":{"build":"tsc","test":"vitest run","test:watch":"vitest","test:coverage":"vitest run --coverage","lint":"eslint src/ --fix","format":"prettier --write src/","format:check":"prettier --check src/","publish":"npm run build && npm publish --access public"},"keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"homepage":"https://github.com/arisyntek/odate","repository":{"type":"git","url":"git+https://github.com/arisyntek/odate.git"},"author":{"name":"Arisyntek"},"license":"MIT","devDependencies":{"@eslint/js":"9.39.1","@vitest/coverage-v8":"4.0.8","eslint":"9.39.1","eslint-config-prettier":"10.1.8","prettier":"3.6.2","typescript":"5.9.3","typescript-eslint":"8.46.3","vitest":"4.0.8","jiti":"2.6.1"},"gitHead":"3250eb91ca7d3e86bbd91df064e8ca1adac83e0d","_id":"@arisyntek/odate@1.2.1","bugs":{"url":"https://github.com/arisyntek/odate/issues"},"_nodeVersion":"22.16.0","_npmVersion":"11.11.0","dist":{"integrity":"sha512-r0+yTwvM/hKC3pG8kvzGEJLMQqGNfUckuA35hiW9LveEwHvz7Kvasoji1CJkG1jn+nPWwI4lWk2WkdceR+pkOw==","shasum":"15a1c3ed4c6d5b988792c0490d5056b636c11fba","tarball":"https://registry.npmjs.org/@arisyntek/odate/-/odate-1.2.1.tgz","fileCount":7,"unpackedSize":10598,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIAFbCU5QBVxfE+klK+rBTXi57HbQRX7moa+FWX6J8aVEAiEAroRgo57X7wC5boJMhrA8olMQhooFp9S9Y++NEL5p26I="}]},"_npmUser":{"name":"denwwer","email":"denwwer.c4@gmail.com"},"directories":{},"maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/odate_1.2.1_1788806716233_0.050240394903364294"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-15T22:11:25.746Z","modified":"2026-09-07T18:45:16.504Z","1.0.0":"2025-11-15T21:54:18.033Z","1.0.1":"2025-11-15T21:57:21.237Z","1.0.2":"2025-11-15T22:11:26.137Z","1.1.0":"2025-11-17T15:29:42.923Z","1.1.1":"2025-11-24T14:25:20.855Z","1.1.2":"2026-09-07T18:29:04.096Z","1.2.1":"2026-09-07T18:45:16.372Z"},"bugs":{"url":"https://github.com/arisyntek/odate/issues"},"author":{"name":"Arisyntek"},"license":"MIT","homepage":"https://github.com/arisyntek/odate","keywords":["date","date-format","readable-date","human-date","format-date","date-utils","datetime-format","pretty-date","date-formatter","user-friendly-date","date-tools"],"repository":{"type":"git","url":"git+https://github.com/arisyntek/odate.git"},"description":"A lightweight utility that converts timestamps into clean, human-readable dates.","maintainers":[{"name":"denwwer","email":"denwwer.c4@gmail.com"}],"readme":"**o***rganize***date** is lightweight pkg that converts timestamps (or `Date`) into clean, human-readable dates — including “a moment ago”, “Yesterday at 14:23”, etc. or full formatted dates with seconds.\n\n## Install\n```shell\nnpm i @arisyntek/odate\n```\n\n## Use\n```typescript\nimport { formatDate } from '@arisyntek/odate';\n\nformatDate(1763242535431);\n\n// Example ouputs\n// \n// just now\n// a moment ago\n// a minute ago\n// 2 minutes ago\n// Yesterday at 23:35\n// Nov 9, 17:08\n```\n\n## Options\n```typescript\nOptions = {\n  /** Return full Date **/\n  full: boolean;\n  /** Whether to use 12-hour time (default to 24-hour time) **/\n  hour12: boolean;\n  /** Add \"Today\" prefix to time as \"Today at 9:00\", default just \"9:00\" for current day **/\n  today: boolean;\n}\n```\n","readmeFilename":"README.md"}