{"id":24367174,"url":"https://github.com/vajahath/log-to-json-cli","last_synced_at":"2025-08-21T05:43:34.467Z","repository":{"id":43989762,"uuid":"241678319","full_name":"vajahath/log-to-json-cli","owner":"vajahath","description":"Another handy CLI to convert log files to JSON","archived":false,"fork":false,"pushed_at":"2023-01-05T07:45:20.000Z","size":1437,"stargazers_count":1,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-04T04:58:09.059Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/vajahath.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":"2020-02-19T17:20:46.000Z","updated_at":"2023-03-10T07:54:16.000Z","dependencies_parsed_at":"2023-02-03T18:50:12.936Z","dependency_job_id":null,"html_url":"https://github.com/vajahath/log-to-json-cli","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/vajahath/log-to-json-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vajahath%2Flog-to-json-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vajahath%2Flog-to-json-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vajahath%2Flog-to-json-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vajahath%2Flog-to-json-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vajahath","download_url":"https://codeload.github.com/vajahath/log-to-json-cli/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vajahath%2Flog-to-json-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":271432524,"owners_count":24758829,"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","status":"online","status_checked_at":"2025-08-21T02:00:08.990Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-01-19T01:42:07.570Z","updated_at":"2025-08-21T05:43:34.437Z","avatar_url":"https://github.com/vajahath.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# log-to-json-cli\n\nA handy CLI to convert log files to JSON using [log-to-json](https://github.com/vajahath/log-to-json) module.\n\n![](https://github.com/vajahath/log-to-json-cli/workflows/Build/badge.svg) [![](https://img.shields.io/badge/TypeScript-Ready-blue.svg)](https://www.typescriptlang.org/)\n\n## Install\n\nRequires Node \u003e=10.\n\nFrom npm,\n\n```sh\nnpm i -g log-to-json-cli\n```\n\nFrom [Github Package Registry](https://github.com/vajahath/log-to-json-cli/packages). ([Guide](https://help.github.com/en/github/managing-packages-with-github-packages/configuring-npm-for-use-with-github-packages)).\n\nType definitions are bundled with this package, just in case you need.\n\n## CLI Usage\n\n```bash\n➜ log-to-json --help\nUsage: log-to-json [options] \u003cinput-log-file\u003e\n\nAn easy CLI tool to convert .log files to .json\n\nOptions:\n  -V, --version        output the version number\n  -o, --output \u003cfile\u003e  Relative or absolute file path. If not provided, a new\n                       JSON file with similar name is created.\n  -h, --help           output usage information\n\n```\n\n### Example\n\nWith out output file option (`-o`):\n\n```bash\n➜ log-to-json sample._log\n✔ Output file created at: /home/user/path/log-to-json/tests/sample._log.json\n```\n\nWith `-o` option\n\n```bash\n➜ log-to-json sample._log -o magic.json\n✔ Output file created at: /home/qbuser/gith/log-to-json/tests/magic.json\n```\n\n### Need API?\n\nRefer [log-to-json](https://github.com/vajahath/log-to-json) module.\n\n\u003cbr\u003e\n\n[![](https://img.shields.io/badge/built%20with-ts--np%203-lightgrey?style=flat-square)](https://github.com/vajahath/generator-ts-np) \u003c!--(TSNP VERSION: 3.2.0)--\u003e\n\n## Licence\n\nMIT \u0026copy; [Vajahath Ahmed](https://twitter.com/vajahath7)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvajahath%2Flog-to-json-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvajahath%2Flog-to-json-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvajahath%2Flog-to-json-cli/lists"}