{"id":23460942,"url":"https://github.com/broucz/react-embed-code","last_synced_at":"2025-07-04T18:09:26.272Z","repository":{"id":57142367,"uuid":"41259357","full_name":"broucz/react-embed-code","owner":"broucz","description":"A simple component to show React code.","archived":false,"fork":false,"pushed_at":"2015-08-23T17:26:27.000Z","size":136,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-17T13:07:35.255Z","etag":null,"topics":[],"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/broucz.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":"2015-08-23T17:21:41.000Z","updated_at":"2021-05-20T02:28:55.000Z","dependencies_parsed_at":"2022-09-05T18:41:23.617Z","dependency_job_id":null,"html_url":"https://github.com/broucz/react-embed-code","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/broucz/react-embed-code","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broucz%2Freact-embed-code","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broucz%2Freact-embed-code/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broucz%2Freact-embed-code/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broucz%2Freact-embed-code/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/broucz","download_url":"https://codeload.github.com/broucz/react-embed-code/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/broucz%2Freact-embed-code/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260540816,"owners_count":23024893,"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":[],"created_at":"2024-12-24T07:26:33.669Z","updated_at":"2025-07-04T18:09:26.252Z","avatar_url":"https://github.com/broucz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [React Embed Code](http://broucz.github.io/react-embed-code)\n\n**Simple compoment to embed highlighted React code.**\n\n```js\nconst str = `\nimport React, { Component } from 'react';\n\nclass Root extends Component {\n   render() {\n     return (\n       \u003cdiv\u003eRoot...\u003c/div\u003e\n     );\n   }\n }\n \n export default Root;\n`;\n\n\u003cCode embed={str} /\u003e\n```\n\n[![npm version](https://img.shields.io/npm/v/react-embed-code.svg?style=flat-square)](https://www.npmjs.com/package/react-embed-code)\n\n## Install\n`npm install --save react-embed-code`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroucz%2Freact-embed-code","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbroucz%2Freact-embed-code","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbroucz%2Freact-embed-code/lists"}