react-object
Rich visual representation and editor of javascript objects and values.
Last updated 4 years ago by philcockfield .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install react-object 
SYNC missed versions from official npm registry.

react-object

Build Status

Rich visual representation and editor of javascript objects and values.

Example

Features

  • Color highlighted pretty-printing of objects and primitive values.
  • Expandable to drill into object and array hierarchy.
  • Abbreviates large objects/arrays to prevent render slow-down.
  • Rich date notation.
  • Rich function notation (with parameter names).

Getting Started

npm install react-object

Render a complex object:

import { Value } from "react-object";

const obj = { foo: 123, bar: { baz: "hello" }};

<Value
    label="foo"
    value={ obj }/>        

Will yield:

Value

TODO

  • editable

Explore the API in the UIHarness

git clone https://github.com/philcockfield/react-object.git
cd react-object
npm install
npm start

ui-harness


License: MIT

Current Tags

  • 2.1.1                                ...           latest (4 years ago)

23 Versions

  • 2.1.1                                ...           4 years ago
  • 2.1.0                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.11                                ...           5 years ago
  • 2.0.10                                ...           5 years ago
  • 2.0.9                                ...           5 years ago
  • 2.0.8                                ...           5 years ago
  • 2.0.7                                ...           5 years ago
  • 2.0.6                                ...           5 years ago
  • 2.0.5                                ...           5 years ago
  • 2.0.4                                ...           5 years ago
  • 2.0.3                                ...           5 years ago
  • 2.0.2                                ...           5 years ago
  • 2.0.1                                ...           5 years ago
  • 2.0.0                                ...           5 years ago
  • 1.0.6                                ...           5 years ago
  • 1.0.5                                ...           5 years ago
  • 1.0.4                                ...           5 years ago
  • 1.0.3                                ...           5 years ago
  • 1.0.2                                ...           5 years ago
  • 1.0.1                                ...           5 years ago
  • 1.0.0                                ...           5 years ago
  • 0.0.1                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 0
Last Week 0
Last Month 8
Dependencies (2)
Dev Dependencies (5)
Dependents (2)

Copyright 2014 - 2017 © taobao.org |