Socket
Socket
Sign inDemoInstall

@unleashit/recursive-data-lister

Package Overview
Dependencies
35
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @unleashit/recursive-data-lister

Simple React component that displays a nested object recursively with a choice of markup.


Version published
Weekly downloads
92
increased by1740%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

Recursive Data Lister

NPM npm (scoped) npm bundle size

React component that recursively pretty prints nested lists or objects with various options for html markup and styling.

recursive data lister component

Features

  • Quickly display simple or complex nested lists and objects as html.
  • Choice of html (ul, ol, div, etc.).
  • Display as a single list or separate lists per first level parent.
  • For arrays of objects, the option to choose a property to use its value as the heading (replace the numerical index).
  • Handles dates. Either provide a formatter function, or by default will be displayed as strings. Also attempts to find and handle dates in string values.
  • Basic default CSS available with easy customization through cssVars prop.

Install

npm install @unleashit/recursive-data-lister

Documentation

https://unleashit.github.io/npm-library/components/recursiveDataLister

Demo

https://npm-library-demo.vercel.app/recursive-data-lister

Keywords

FAQs

Last updated on 18 Apr 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc