{"id":26350216,"url":"https://github.com/mac-r/console-logger","last_synced_at":"2025-10-19T15:00:17.614Z","repository":{"id":35123873,"uuid":"209626809","full_name":"mac-r/console-logger","owner":"mac-r","description":"📝 Prints console.log to your terminal when dev console is out of reach.","archived":false,"fork":false,"pushed_at":"2022-02-12T21:20:05.000Z","size":55,"stargazers_count":2,"open_issues_count":5,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T11:49:29.658Z","etag":null,"topics":["developer-tools","productivity","terminal-based","websocket-library"],"latest_commit_sha":null,"homepage":"","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/mac-r.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":"2019-09-19T18:50:56.000Z","updated_at":"2019-09-20T18:10:50.000Z","dependencies_parsed_at":"2022-08-08T05:15:35.279Z","dependency_job_id":null,"html_url":"https://github.com/mac-r/console-logger","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-r%2Fconsole-logger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-r%2Fconsole-logger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-r%2Fconsole-logger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mac-r%2Fconsole-logger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mac-r","download_url":"https://codeload.github.com/mac-r/console-logger/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243852079,"owners_count":20358260,"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":["developer-tools","productivity","terminal-based","websocket-library"],"created_at":"2025-03-16T09:30:13.525Z","updated_at":"2025-10-19T15:00:16.888Z","avatar_url":"https://github.com/mac-r.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 Console Logger\n\nConsole logger is a development tool, that makes web developers more productive. It prints `console.log` to your terminal when development console is out of reach.\n\n## Introduction\n\nMany people like to debug code using `console.log`, but sometimes it is not possible. Below are the situations, when you can't leverage `console.log` for debugging:\n  - Remote browser emulators\n  - Chrome extensions\n  - Hybrid mobile apps (Ionic, etc.)\n  - etc.\n\nI made a development tool to solve those problems.\n\nAfter a simple integration `console.log` output will go to the terminal window so you can enjoy using it again.\n\n\u003cimg src=\"https://cdn.blinkloader.com/express/qf0gEaOkgpWuKfYxseTMO4LnA/Screen Shot 2019-09-19 at 15.56.57.png\"/\u003e\n\n## Installation\n\n```\nnpm install -g @mac-r/console-logger nanoid\n```\n\n\u003e `nanoid` will be added to dependencies in the next patch 😅\n\n## Usage\n\nAdd this at the beginning of your `html` template, which serves all other bundles:\n\n```html\n\u003cmeta property=\"console:server\" content=\"ws://127.0.0.1:8081\" /\u003e\n\u003cscript src=\"https://www.unpkg.com/@mac-r/console-logger@1.0.1/dist/console-logger.min.js\"\u003e\u003c/script\u003e\n```\n\nThen run the following command in your terminal:\n\n```\nconsole-logger\n```\n\nNow you can start using `console.log` in your code. The output will go to the terminal.\n\n#### Advanced Usage\n\nYou can run `console-logger` on a custom `PORT`:\n\n```\nPORT=1234 console-logger\n```\n\nJust don't forget to change `console:server` value in the html template.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-r%2Fconsole-logger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmac-r%2Fconsole-logger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmac-r%2Fconsole-logger/lists"}