{"id":14384649,"url":"https://github.com/diegomura/react-log","last_synced_at":"2025-04-12T19:42:36.817Z","repository":{"id":42355059,"uuid":"63637793","full_name":"diegomura/react-log","owner":"diegomura","description":"React for the Console","archived":false,"fork":false,"pushed_at":"2023-01-24T17:27:28.000Z","size":19278,"stargazers_count":575,"open_issues_count":15,"forks_count":27,"subscribers_count":10,"default_branch":"master","last_synced_at":"2024-10-14T20:34:20.932Z","etag":null,"topics":["dom","log","logging","react"],"latest_commit_sha":null,"homepage":"https://diegomura.github.io/react-log/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/diegomura.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":"2016-07-18T21:21:12.000Z","updated_at":"2024-10-07T15:08:17.000Z","dependencies_parsed_at":"2023-02-13T23:45:45.380Z","dependency_job_id":null,"html_url":"https://github.com/diegomura/react-log","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/diegomura%2Freact-log","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegomura%2Freact-log/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegomura%2Freact-log/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diegomura%2Freact-log/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diegomura","download_url":"https://codeload.github.com/diegomura/react-log/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248625407,"owners_count":21135512,"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":["dom","log","logging","react"],"created_at":"2024-08-28T18:01:32.927Z","updated_at":"2025-04-12T19:42:36.790Z","avatar_url":"https://github.com/diegomura.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","📦 Legacy \u0026 Inactive Projects"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003cimg src=\"https://user-images.githubusercontent.com/5600341/32155369-b420c40a-bd15-11e7-940d-580db5421252.png\" width=\"400px\"\u003e\u003c/p\u003e\n\nReact for the Console\n\n[![npm](https://img.shields.io/npm/v/react-log.svg)](https://www.npmjs.com/package/react-log)\n[![Travis](https://img.shields.io/travis/diegomura/react-log.svg)](https://travis-ci.org/diegomura/react-log)\n[![license](https://img.shields.io/github/license/diegomura/react-log.svg)](https://github.com/diegomura/react-log/blob/master/LICENSE)\n\n## Install\n```sh\nyarn add react-log\n```\nor\n```sh\nnpm install react-log --save\n```\n\n## Usage\n_react-log_ exports a single React Component called _Log_. Each child will not be rendered on the DOM, but will produce an analog representation on the console.\n\nNo proprietary syntax is needed for child HTML elements. _react-log_ handles the parsing and rendering of native React-DOM elements for you.\n\nLet's see it in action!\n\n### Example\n\n```jsx\nimport Log from 'react-log';\n\n\u003cLog\u003e\n  \u003ch1\n    style={{\n      color: 'black',\n      fontSize: '50px',\n      fontWeight: 'normal',\n      fontFamily: 'Open Sans, sans-serif',\n    }}\u003e\n    React\n    \u003cspan\n      style={{\n        color: 'white',\n        fontSize: '45px',\n        fontWeight: 'bold',\n        marginLeft: '10px',\n        padding: '5px',\n        fontFamily: 'Arial, Helvetica, sans-serif',\n        background: 'linear-gradient(to bottom right, #13493b, #016a26)',\n      }}\u003e\n      log\n    \u003c/span\u003e\n  \u003c/h1\u003e\n  \u003ca\n    href='https://github.com/diegomura/react-log'\n    style={{ display: 'block', lineHeight: '40px' }}\n  \u003e\n    For more info\n  \u003c/a\u003e\n\u003c/Log\u003e\n```\n[See full example](https://github.com/diegomura/react-log/blob/master/examples/index.js)\n\n#### Output\n![banner](https://user-images.githubusercontent.com/5600341/32155421-008b99dc-bd16-11e7-8ac4-13f094577b7e.png)\n\n#### Run the example yourself\nOn the root of the project:\n\n```sh\ncd examples/\nnpm install\nnpm start\n```\n\nThe server should be listening now on `http://localhost:8080`\n\n## Browser Support\nTested and working on Chrome 51 and Firefox 45.\nDoes not work on Safari or IE as far I've seen. Yet.\n\n## License\n\nMIT © [Diego Muracciole](http://github.com/diegomura)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegomura%2Freact-log","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiegomura%2Freact-log","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiegomura%2Freact-log/lists"}