{"id":16293974,"url":"https://github.com/axetroy/react-document-title","last_synced_at":"2025-04-09T11:15:01.238Z","repository":{"id":143735154,"uuid":"93879898","full_name":"axetroy/react-document-title","owner":"axetroy","description":"react component for setting document title","archived":false,"fork":false,"pushed_at":"2019-04-08T13:32:02.000Z","size":267,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-15T05:15:51.520Z","etag":null,"topics":["react","react-component","react-document-title","title"],"latest_commit_sha":null,"homepage":"https://axetroy.github.io/react-document-title/","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/axetroy.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-09T17:02:34.000Z","updated_at":"2018-03-31T19:39:47.000Z","dependencies_parsed_at":null,"dependency_job_id":"ac8d2bd6-42cb-464e-85ec-ca14fe1fbb36","html_url":"https://github.com/axetroy/react-document-title","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/axetroy%2Freact-document-title","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-document-title/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-document-title/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/axetroy%2Freact-document-title/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/axetroy","download_url":"https://codeload.github.com/axetroy/react-document-title/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248027412,"owners_count":21035594,"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":["react","react-component","react-document-title","title"],"created_at":"2024-10-10T20:13:36.470Z","updated_at":"2025-04-09T11:15:01.187Z","avatar_url":"https://github.com/axetroy.png","language":"JavaScript","readme":"# react-document-title\n\n[![Greenkeeper badge](https://badges.greenkeeper.io/axetroy/react-document-title.svg)](https://greenkeeper.io/)\n\n[Online Demo](https://axetroy.github.io/react-document-title/)\n\n### Installation\n\n```bash\nnpm install @axetroy/react-document-title\n```\n\n### Usage\n\n```javascript\nimport React from 'react';\nimport { render } from 'react-dom';\nimport DocumentTitle from '@axetroy/react-document-title';\n\nconst element = document.createElement('div');\ndocument.body.appendChild(element);\n\nclass App extends React.Component {\n  state = {\n    title: ['Axetroy']\n  };\n\n  render() {\n    return (\n      \u003cdiv\u003e\n        \u003cDocumentTitle title={this.state.title}\u003e\u003c/DocumentTitle\u003e\n      \u003c/div\u003e\n    );\n  }\n}\n\nrender(\u003cApp /\u003e, element);\n```\n\n### Props\n\n- title:Array\u003cstring0\u003e\n\n- revert:Boolean\n\n### Run the Demo\n\n```bash\ngit clone https://github.com/axetroy/react-document-title.git\nyarn\nyarn start\n```\n\n### License\n\nThe [MIT License](https://github.com/axetroy/react-document-title/blob/master/LICENSE)","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Freact-document-title","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faxetroy%2Freact-document-title","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faxetroy%2Freact-document-title/lists"}