{"library":"react-node-to-string","type":"library","category":null,"description":"react-node-to-string is a minimalist utility package designed to extract the plain text content from a React node (`React.ReactNode`) object. It recursively traverses the children of a React node, concatenating all string literals it encounters while ignoring JSX elements and their structural information. The current stable version is 0.1.2, indicating a pre-1.0.0 status, which typically means a stable but possibly feature-complete and low-maintenance lifecycle given its focused scope. It offers a simpler, more lightweight alternative to methods like `ReactDOMServer.renderToStaticMarkup` when only the string content is required, avoiding the overhead of full HTML rendering. Its primary use case is for scenarios where one needs to obtain the textual representation of a React component's children without any HTML tags or complex component logic, making it suitable for content-extraction or display purposes.","language":"javascript","status":"maintenance","version":"0.1.2","tags":["javascript","react","typescript"],"install":[{"cmd":"npm install react-node-to-string","imports":["import reactNodeToString from 'react-node-to-string';","import { type ReactNode } from 'react';\nimport reactNodeToString from 'react-node-to-string';"]},{"cmd":"yarn add react-node-to-string","imports":[]},{"cmd":"pnpm add react-node-to-string","imports":[]}],"homepage":null,"github":"https://github.com/sunknudsen/react-node-to-string","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/react-node-to-string","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-node-to-string/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}