{"repo":"google/react-schemaorg","free":true,"listed":false,"github":"https://github.com/google/react-schemaorg","clone":"git clone https://github.com/google/react-schemaorg.git","description":"Type-checked Schema.org JSON-LD for React","language":"TypeScript","stars":520,"topics":["react","schema-org","schemaorg","jsonld","json-ld","typescript","semantic-web"],"license":"Apache-2.0","category":"ui-components","readme_excerpt":"react-schemaorg Easily insert valid Schema.org JSON-LD in your React apps. This library provides for plain React apps, and helmetJsonLdProp() for use with . Uses schema-dts for Schema.org TypeScript definitions. Note: This is not an officially supported Google product. Usage Install react-schemaorg and your desired version of schema-dts : Plain React Usage To insert a simple JSON-LD snippet: Directly creating tags (for next/head and elsewhere) Certain management libraries require tags to be directly included, rather than wrapped in a component. This includes NextJS's next/head , and react-helmet . With these, we can use the jsonLdScriptProps export to do the same thing: React Helmet Usage To set JSON-LD in React Helmet, you need to pass it to the script={[...]} prop array in the Helmet component: Developers Use NPM to install dependencies: Use tsc to build: To contribute changes, see the CONTRIBUTING.md file.","default_branch":null,"files":null,"tree":[],"storefront":"/r/google","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/google/react-schemaorg/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}