Svelte <Inspect {value} />

name
:
str 'svelte-inspect-value'
20 chars
installCommands
:
arr
5 items
0
:
str 'copy to clipboard 👉'
20 chars
1
:
str 'npm install svelte-inspect-value'
32 chars
2
:
str 'pnpm add svelte-inspect-value'
29 chars
3
:
str 'bun add svelte-inspect-value'
28 chars
4
:
str 'yarn add svelte-inspect-value'
29 chars
docs
:
str 'https://inspect.eirik.space/'
28 chars
stats
:
Promise < pending >
state
:
str 'pending'
7 chars
result
:
undefined
theme:
inspect

What it is

Svelte Inspect Value is a collection of "JSON tree"-like value inspector components.
The main purpose of the components is to be a developer utility. When developing apps it can be useful to have a "live" preview of state like API data, form values, the state of a promise and so on.

Features

The examples page is the quickest way to get an overview of what this component can do, but here is a list of its key features: