{"id":13621021,"url":"https://github.com/ariya/tebakmasa","last_synced_at":"2025-10-18T06:01:23.053Z","repository":{"id":42075433,"uuid":"262994142","full_name":"ariya/tebakmasa","owner":"ariya","description":"Infer the date and time from the general description in Bahasa Indonesia","archived":false,"fork":false,"pushed_at":"2023-05-24T15:52:58.000Z","size":34,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-30T05:09:53.266Z","etag":null,"topics":["bahasa","bahasa-indonesia","date","indonesian","nlp","time","timestamp"],"latest_commit_sha":null,"homepage":"https://ariya.github.io/tebakmasa","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ariya.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null},"funding":{"github":"ariya"}},"created_at":"2020-05-11T09:14:25.000Z","updated_at":"2024-11-22T04:06:50.000Z","dependencies_parsed_at":"2024-01-11T14:09:41.037Z","dependency_job_id":"a7f043c5-9c11-414e-9581-5dfacccf368a","html_url":"https://github.com/ariya/tebakmasa","commit_stats":{"total_commits":43,"total_committers":1,"mean_commits":43.0,"dds":0.0,"last_synced_commit":"9e6361112f49927be3697fa081039c23b9c6b51d"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Ftebakmasa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Ftebakmasa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Ftebakmasa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ariya%2Ftebakmasa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ariya","download_url":"https://codeload.github.com/ariya/tebakmasa/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251644842,"owners_count":21620634,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bahasa","bahasa-indonesia","date","indonesian","nlp","time","timestamp"],"created_at":"2024-08-01T21:01:01.827Z","updated_at":"2025-10-18T06:01:22.918Z","avatar_url":"https://github.com/ariya.png","language":"JavaScript","funding_links":["https://github.com/sponsors/ariya"],"categories":["T"],"sub_categories":[],"readme":"# Tebak Masa\n\n[![npm version](https://img.shields.io/npm/v/@ariya/tebakmasa)](https://www.npmjs.com/package/@ariya/tebakmasa)\n[![npm bundle size (minified)](https://img.shields.io/bundlephobia/min/@ariya/tebakmasa.svg)](https://bundlephobia.com/result?p=@ariya/tebakmasa)\n[![GitHub license](https://img.shields.io/github/license/ariya/tebakmasa)](https://github.com/ariya/tebakmasa/blob/master/LICENSE)\n[![Tests](https://github.com/ariya/tebakmasa/workflows/Tests/badge.svg)](https://github.com/ariya/tebakmasa/actions)\n\n\n[Bahasa Indonesia](#indonesian) | [English](#english)\n\n---\n\n### \u003ca name=\"indonesian\"\u003e\u003c/a\u003eBahasa Indonesia\n\n**Tebak Masa**: pustaka JavaScript untuk Node.js ([@ariya/tebakmasa](https://www.npmjs.com/package/@ariya/tebakmasa)) guna mengira tanggal dan waktu dari deskripsi umumnya dalam bahasa Indonesia.\n\nContoh:\n\n```js\nconst tebakmasa = require('@ariya/tebakmasa');\n\ntebakmasa('3 menit yang lalu');\ntebakmasa('13:37 WIB');\ntebakmasa('17 Agustus 2020 10:00');   // 1600311600028\ntebakmasa('17/8/2020 10:00')\n```\n\nNilai yang dikembalikan pemanggilan fungsi `tebakmasa` adalah _Unix epoch_, jumlah milidetik semenjak tengah malam tanggal 1 Januari 1970 UTC. Untuk rincinya, silakan merujuk ke dokumentasi JavaScript [tentang Date](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).\n\n\n---\n\n### \u003ca name=\"english\"\u003e\u003c/a\u003eEnglish\n\n**Tebak Masa**: a JavaScript library for Node.js ([@ariya/tebakmasa](https://www.npmjs.com/package/@ariya/tebakmasa)) to infer the date and time from the general description in Indonesian (_Bahasa Indonesia_).\n\nExamples:\n```js\nconst tebakmasa = require('@ariya/tebakmasa');\n\ntebakmasa('3 menit yang lalu');\ntebakmasa('13:37 WIB');\ntebakmasa('17 Agustus 2020 10:00');   // 1600311600028\ntebakmasa('17/8/2020 10:00')\n```\n\nThe return value is _Unix epoch_, the number of milliseconds that have elapsed since midnight on January 1, 1970, UTC. For more details, refer to the documentation of [JavaScript Date object](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariya%2Ftebakmasa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fariya%2Ftebakmasa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fariya%2Ftebakmasa/lists"}