{"id":17024196,"url":"https://github.com/arrow2nd/line2json","last_synced_at":"2025-03-22T18:23:14.971Z","repository":{"id":45427799,"uuid":"418336952","full_name":"arrow2nd/line2json","owner":"arrow2nd","description":"💬 LINE のトーク履歴をパースする Deno モジュール","archived":false,"fork":false,"pushed_at":"2022-12-24T14:50:52.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-20T04:41:17.460Z","etag":null,"topics":["deno","deno-module","line","parser"],"latest_commit_sha":null,"homepage":"https://deno.land/x/line2json","language":"TypeScript","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/arrow2nd.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}},"created_at":"2021-10-18T03:57:57.000Z","updated_at":"2022-09-18T03:53:45.000Z","dependencies_parsed_at":"2023-01-30T21:00:30.233Z","dependency_job_id":null,"html_url":"https://github.com/arrow2nd/line2json","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrow2nd%2Fline2json","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrow2nd%2Fline2json/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrow2nd%2Fline2json/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arrow2nd%2Fline2json/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arrow2nd","download_url":"https://codeload.github.com/arrow2nd/line2json/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245000743,"owners_count":20545108,"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":["deno","deno-module","line","parser"],"created_at":"2024-10-14T07:24:48.512Z","updated_at":"2025-03-22T18:23:14.933Z","avatar_url":"https://github.com/arrow2nd.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# line2json\n\nLINE で出力したトーク履歴ファイルを JSON にパースするモジュール\n\n## 使い方\n\n### パースする\n\n```ts\nimport { parse, TalkData } from \"https://deno.land/x/line2json@v0.1.0/mod.ts\";\n\nconst text = Deno.readTextFileSync(\"talk_histroy.txt\");\nconst histories: TalkData[] = parse(text);\n\nconsole.log(histories);\n```\n\n### JSON にする\n\n```ts\nimport { toJson } from \"https://deno.land/x/line2json@v0.1.0/mod.ts\";\n\nconst text = Deno.readTextFileSync(\"talk_histroy.txt\");\nconst json = toJson(text);\n\nDeno.writeTextFileSync(\"histroy.json\", json);\n```\n\n## 検証環境\n\n- Windows / Mac 版 LINE v7.2.0\n- Android 版 LINE v11.17.1\n\n## 仕様\n\n- LINE のシステムメッセージや URL、LINE 依存の絵文字を含むメッセージは除外されます\n- 時刻は全て 24 時間表記です\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrow2nd%2Fline2json","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farrow2nd%2Fline2json","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farrow2nd%2Fline2json/lists"}