{"id":16292686,"url":"https://github.com/zeljkox/react-native-dev-console","last_synced_at":"2025-03-20T03:30:53.171Z","repository":{"id":57336496,"uuid":"139643525","full_name":"zeljkoX/react-native-dev-console","owner":"zeljkoX","description":"React Native debug","archived":false,"fork":false,"pushed_at":"2018-08-20T16:10:55.000Z","size":186,"stargazers_count":4,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T14:15:06.679Z","etag":null,"topics":["console","debug","log","react-native"],"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/zeljkoX.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-03T22:39:24.000Z","updated_at":"2023-03-08T04:19:04.000Z","dependencies_parsed_at":"2022-09-03T08:01:17.793Z","dependency_job_id":null,"html_url":"https://github.com/zeljkoX/react-native-dev-console","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/zeljkoX%2Freact-native-dev-console","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkoX%2Freact-native-dev-console/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkoX%2Freact-native-dev-console/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zeljkoX%2Freact-native-dev-console/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zeljkoX","download_url":"https://codeload.github.com/zeljkoX/react-native-dev-console/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244543742,"owners_count":20469553,"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","debug","log","react-native"],"created_at":"2024-10-10T20:08:28.257Z","updated_at":"2025-03-20T03:30:52.641Z","avatar_url":"https://github.com/zeljkoX.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Native Dev Console\n\n## React Native Dev Console is small package designed to help debug apps in non debug mode\n\n\u003cp align=\"center\" \u003e\n    \u003cimg alt=\"react-native-dev-console\" src=\"https://i.imgur.com/ZgJU2Dp.jpg\" width=\"300\" height=\"550\" /\u003e\n\u003c/p\u003e\n\n## Why\n\nDebuging React native apps in debug mode is slow and error prone. With this package user is able to debug app without activating debug mode and being tied to computer.\n\n## Installation\n\nSince the package is a JS-based solution, to install the latest version of react-native-dev-console you only need to run:\n\n```bash\nyarn add react-native-dev-console\n```\n\nor\n\n```bash\nnpm install --save react-native-dev-console\n```\n\n## Quick Start\n\n```javascript\n\nimport ConsoleProvider from 'react-native-dev-console'\n\nexport default class App extends Component {\n\n  render() {\n    return (\n    \u003cView\u003e\n      \u003cConsoleProvider /\u003e\n    \u003c/View \u003e\n    )\n  }\n}\n```\n\n## Display line numbers\n\nThis package comes with babel plugin included. Babel plugin role is to add meta information needed for debuging. For example, file line number.\n\nTo enable plugin add entry to `.babelrc` file:\n\n```\n{\n  \"plugins\": [\"./node_modules/react-native-dev-console/src/babel-plugin.js\"]\n}\n```\n\n## Catching Logs before React render phase\n\nBasic setup will not display logs that are called before React render phase.\nIn order to cover that scenario in App entry file include:\n\n```\nimport { LogService } from 'react-native-dev-console'\n\nLogService.start()\n```\n\n## Props\n\nkey | type | Value | Description\n------ | ---- | ------- | ----------------------\ncontainerStyle | Style | - | Full screen mode container style\nstatusViewContainerStyle | Style | - | Status View container style\ndisableRNWarnings | boolean | true | Disable displaying of RN warnings\ndisableYellowBox | boolean | true | Disable displaying of RN YellowBox\nisActive | boolean | true | Plugin is active\nlogEntryStyle | Style | - | Console log entry style\nmenuContainerStyle | Style | - | Bottom menu container style\npasstrough | boolean | trye | Call original console log\nrender | Function | - | Override render function\n\n## TODO\n\n- status view move logic\n- support more logs types\n\n## License\n\nMIT License. © Željko Marković 2018","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeljkox%2Freact-native-dev-console","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzeljkox%2Freact-native-dev-console","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzeljkox%2Freact-native-dev-console/lists"}