# React Children Utilities Extended utils for ⚛️ React.Children data structure that adds recursive filter, map and more methods to iterate nested children. [](https://unpkg.com/react-children-utilities/react-children-utilities.min.js 'Gzip Bundle Size') [](https://github.com/fernandopasik/react-children-utilities/actions/workflows/main.yml 'Build Status') [](https://codecov.io/gh/fernandopasik/react-children-utilities 'Coverage Status') [](https://snyk.io/test/github/fernandopasik/react-children-utilities?targetFile=package.json 'Known Vulnerabilities') [](#contributors) [](https://www.npmjs.com/package/react-children-utilities 'npm version') [](https://www.npmjs.com/package/react-children-utilities 'npm downloads') ## Installation Can be added to your application after installing the peer dependency `react` ```sh npm install --save react-children-utilities ``` ## Usage This package extends the existing React.Children utilities, you can import it as a whole. ```jsx import React from 'react'; import Children from 'react-children-utilities'; const MyComponent = ({ children }) => { const onlySpans = Children.filter(children, (child) => child.type === 'span'); return
Fernando Pasik 🐛 💻 📖 🤔 |
mrm007 🐛 💻 |
yosef langer 🐛 💻 |
iyegoroff 🐛 💻 |
Mark Allen 🐛 💻 |
Ryosuke IWANAGA 🐛 💻 |
Daniel Pinyol 🐛 💻 |
Brian Bartholomew 🐛 💻 |