react-object-inspector-standalone

1.1.0 • Public • Published

react-object-inspector-standalone

Get the goodness of react-object-inspector without actually dealing with React. Forked from react-webpack-wrapper-example.

Example Usage

See this example live

<body>
  <p>Here is some fancy data:</p>
  <div id="inspector"></div>

  <script src="https://unpkg.com/react-object-inspector-standalone"></script>
  <script>
    ObjectInspector(document.getElementById('inspector'), {
      here: {
        is: ['some', 'fancy', 'data'],
      }
    })
  </script>
</body>

To build manually

  1. Clone the repo
  2. Run npm install
  3. Run npm run build
  4. Run the example npx serve

Step 3 will generate two files in the dist folder. A object-inspector.js and object-inspector.min.js.

Readme

Keywords

none

Package Sidebar

Install

npm i react-object-inspector-standalone

Weekly Downloads

1

Version

1.1.0

License

ISC

Last publish

Collaborators

  • wmhilton