{"library":"react-schemaorg","type":"library","category":null,"description":"react-schemaorg is a library designed to simplify the integration of structured data into React applications using Schema.org JSON-LD. It leverages the `schema-dts` package for robust TypeScript definitions, ensuring strong type safety when defining rich snippets, which helps prevent common errors in structured data implementation. The current stable version is 2.0.1, with releases typically addressing dependency updates, minor feature enhancements like `@graph` key support, or improved compatibility with popular head management libraries such as Next.js `next/head` and `react-helmet`. Key differentiators include its strong emphasis on type-checking through `schema-dts`, the provision of both a declarative `<JsonLd>` component and utility functions (`jsonLdScriptProps`, `helmetJsonLdProp`) for flexible integration, and its focus on secure JSON-LD parsing to mitigate potential XSS vulnerabilities.","language":"javascript","status":"active","version":"2.0.1","tags":["javascript","react","jsonld","JSON-LD","typescript","schema.org","Semantic Web","semantic-web","Linked Data"],"install":[{"cmd":"npm install react-schemaorg","imports":["import { JsonLd } from 'react-schemaorg';","import { jsonLdScriptProps } from 'react-schemaorg';","import { helmetJsonLdProp } from 'react-schemaorg';","import type { Person } from 'schema-dts';"]},{"cmd":"yarn add react-schemaorg","imports":[]},{"cmd":"pnpm add react-schemaorg","imports":[]}],"homepage":null,"github":"https://github.com/google/react-schemaorg","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-schemaorg","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/react-schemaorg/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}