• Stars
    star
    217
  • Rank 182,446 (Top 4 %)
  • Language Vue
  • License
    MIT License
  • Created over 4 years ago
  • Updated 12 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Vue JSON inspector with Chrome-like theme.

Object Visualizer

A vue component to visualize the JSON object to the DOM.

Live Demo

As same as Chrome's object tree As same as Chrome's object tree

Feature

  • getKeys: customize visible keys in any nested data

  • expandOnCreatedAndUpdated: expand or collapse after created or updated

    Starting from v4.0.0, this feature is only available for objects due to performance issues.

    • Recursive expand Meta+Click
    • Recursive collapse Meta+Shift+Click
  • Light/Dark mode

Installation

NPM

$ npm install object-visualizer
import { ObjectVisualizer } from 'object-visualizer'
import 'object-visualizer/dist/index.min.css'

CDN

<script src="https://unpkg.com/object-visualizer"></script>
<link
  type="text/css"
  rel="stylesheet"
  href="https://unpkg.com/object-visualizer/dist/index.min.css"
/>

<script>
  const { ObjectVisualizer } = window.ObjectVisualizer
</script>

Usage

<ObjectVisualizer
  :data="['foo', 'bar']"
  rootName="Data"
  :expandOnCreatedAndUpdated="(path) => false"
  :getKeys="(object, path) => Object.keys(object)"
></ObjectVisualizer>

About

Buy Me A Coffee

Distributed under the MIT license. See LICENSE for more information.

https://github.com/iendeavor

More Repositories

1

form-validation.js

The most customizable validation framework for JavaScript.
TypeScript
124
star
2

import-meta-env

Build once, deploy anywhere. Startup/Runtime environment variable solution for JavaScript. It helps in developing applications following the 12-factor principles.
JavaScript
105
star
3

vue-next-select

The selecting solution for Vue 3
HTML
85
star
4

pinia-plugin-persistedstate-2

[no longer maintained] Please use https://github.com/prazdevs/pinia-plugin-persistedstate instead.
TypeScript
75
star
5

vue-use-popperjs

[deprecated] Please use [floating-ui](https://floating-ui.com/docs/vue) instead.
TypeScript
25
star
6

grpc-devtools

Browser DevTools extension for debugging gRPC network requests.
TypeScript
15
star
7

element-ui-sticky-table

Sticky for element-ui table
Vue
10
star
8

vuex-light

WARNING: This package is no longer to be maintained, use [Pinia](https://pinia.esm.dev/) instead.
TypeScript
8
star
9

yup-schema-faker

Fake data generator for yup
TypeScript
7
star
10

zod-schema-faker

Fake data generator for zod
TypeScript
5
star
11

runtime-environment-variables-example

Simple but complete solution for runtime environment variables
JavaScript
3
star
12

vue-composition-ui

Vue Composition UI is a renderless component library, it helps you to build a highly customized UI based on Vue 3 reactivity API.
Vue
1
star
13

dependency-inversion-principle-example

JavaScript
1
star
14

shorten-commit-sha

A Github Action to Export env and output sha with a shortened commit SHA
TypeScript
1
star
15

vue-route-props

A plugin that can automatically bind Vue-router query to Vue instance.
JavaScript
1
star