{"library":"react-innertext","type":"library","category":null,"description":"react-innertext is a utility package designed to extract the plain text content from React JSX objects, mimicking the behavior of the native DOM `innerText` property. It recursively traverses React elements, including children and fragments, to produce a single, concatenated string. This is particularly useful for scenarios requiring a plain text representation of complex React component trees, such as generating `title` attributes, SEO metadata, or for accessibility purposes where only the text content is needed. The current stable version is 1.1.5. While its release cadence appears infrequent based on the provided history, the project is maintained, with recent updates (v1.1.4) addressing Node.js compatibility and incorporating built-in TypeScript definitions. Its key differentiator is its straightforward API for handling React's virtual DOM, providing a direct equivalent to `innerText` without requiring a full DOM render or complex parsing logic.","language":"javascript","status":"active","version":"1.1.5","tags":["javascript","innerText","jsx","react","reactjs","typescript"],"install":[{"cmd":"npm install react-innertext","imports":["import innerText from 'react-innertext';","const innerText = require('react-innertext');","import innerText from 'react-innertext';"]},{"cmd":"yarn add react-innertext","imports":[]},{"cmd":"pnpm add react-innertext","imports":[]}],"homepage":null,"github":"https://github.com/CharlesStover/react-innertext","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-innertext","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-innertext/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}