{"id":18256689,"url":"https://github.com/edwinm/rxjslog","last_synced_at":"2025-04-08T22:28:21.801Z","repository":{"id":32988742,"uuid":"148886996","full_name":"edwinm/rxjslog","owner":"edwinm","description":"Log RxJS events nicely to the console","archived":false,"fork":false,"pushed_at":"2023-01-07T02:28:26.000Z","size":476,"stargazers_count":1,"open_issues_count":10,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-15T00:37:11.231Z","etag":null,"topics":["console","logging","rxjs"],"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/edwinm.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":"2018-09-15T09:10:55.000Z","updated_at":"2020-07-08T08:31:59.000Z","dependencies_parsed_at":"2023-01-14T22:57:01.238Z","dependency_job_id":null,"html_url":"https://github.com/edwinm/rxjslog","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2Frxjslog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2Frxjslog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2Frxjslog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/edwinm%2Frxjslog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/edwinm","download_url":"https://codeload.github.com/edwinm/rxjslog/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247937975,"owners_count":21021404,"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":["console","logging","rxjs"],"created_at":"2024-11-05T10:23:14.496Z","updated_at":"2025-04-08T22:28:21.783Z","avatar_url":"https://github.com/edwinm.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# rxjslog\n\nLog RxJS events nicely to the console.\n\nThe `next`, `error` and `complete` events have their own icon and\nthe log messages have their own color so they stand out between\nthe other log messages.\n\nRxjslog works in both the browser as in Node.js environments.\n\n## Install\n\n```sh\nnpm install rxjslog\n```\n\n\n## Example code\n\n```javascript\nimport {interval} from 'rxjs';\nimport {take} from 'rxjs/operators';\n\nimport {log} from \"rxjslog\";\n\nconst myObservable = interval(500).pipe(take(3));\n\nmyObservable.pipe(log(\"myObservable\"))\n    .subscribe();\n```\n\n## Example output\n\n![Example output of rxjslog](https://raw.githubusercontent.com/edwinm/rxjslog/master/example/example-output.png)\n\n## Configuration\n\nYou can configure the icons and colors used.\n\nFor the `next`, `error` and complete `complete` log messages,\nyou can set the `icon` and `color`.\n\nTo stay compatible with Node.js log messages, use only one of these colors:\nblack, red, green, yellow, blue, magenta, cyan and white.\n\nExample:\n```\nimport {logConfig} from \"rxjslog\";\n\nlogConfig({ error: { icon: \"❗\", color: \"red\" } });\n```\n\n## License\n\nRxjslog is written by Edwin Martin and is published under the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinm%2Frxjslog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fedwinm%2Frxjslog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fedwinm%2Frxjslog/lists"}