{"_id":"@alexkuz/react-object-inspector","_rev":"6-a30c5da4f5a7b5353a2c6a391ca245d6","name":"@alexkuz/react-object-inspector","description":"Simple object inspector styled similarly to Chrome DevTools (temporary fork)","dist-tags":{"latest":"0.1.5-patch"},"versions":{"0.1.4":{"name":"@alexkuz/react-object-inspector","version":"0.1.4","description":"Simple object inspector styled similarly to Chrome DevTools (temporary fork)","main":"lib/ObjectInspector.js","directories":{"example":"example"},"scripts":{"start":"node server.js","build":"babel src --out-dir lib && webpack --config webpack.prod.config.js","lint":"eslint lib example","release":""},"repository":{"type":"git","url":"git+https://github.com/alexkuz/react-object-inspector.git"},"keywords":["react","reactjs","object","object-inspector","object-inspector","treeview","tree-view","tree","view","inspector","react-component","ui"],"author":{"name":"Xiaoyi Chen","email":"cxychina@gmail.com","url":"http://github.com/xyc"},"license":"MIT","bugs":{"url":"https://github.com/alexkuz/react-object-inspector/issues"},"homepage":"https://github.com/alexkuz/react-object-inspector","devDependencies":{"babel-core":"^5.4.7","babel-eslint":"^3.1.9","babel-loader":"^5.1.2","css-loader":"^0.15.6","eslint-plugin-react":"^2.3.0","react":"^0.13.0","react-hot-loader":"^1.2.7","webpack":"^1.9.6","webpack-dev-server":"^1.8.2"},"peerDependencies":{"react":"^0.13.0"},"gitHead":"7615651644e13fbc2144829c851e1fecfe5125d1","_id":"@alexkuz/react-object-inspector@0.1.4","_shasum":"a2dc3184f3d8ef7c9a8dd3ca2fdcc9d0c21535cd","_from":".","_npmVersion":"2.13.3","_nodeVersion":"3.0.0","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"a2dc3184f3d8ef7c9a8dd3ca2fdcc9d0c21535cd","tarball":"https://registry.npmjs.org/@alexkuz/react-object-inspector/-/react-object-inspector-0.1.4.tgz","integrity":"sha512-K4Ev+54w4gyGY1STkO8gHtgTWAj1zq7QPGqhFawvqzWrdg/vV7CEfRBLQuqrYsvYRPYorOTW0gfhb0weaMJU/Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGLOHTHK4/WzdR6doPhS/u46HLt63ayKGvsVIstokWpZAiEA2q9Wj6pYyRUQxGuygB+D2hBzUrA28TnE9DrY233cY78="}]}},"0.1.5-patch":{"name":"@alexkuz/react-object-inspector","version":"0.1.5-patch","description":"Simple object inspector styled similarly to Chrome DevTools (temporary fork)","main":"lib/ObjectInspector.js","directories":{"example":"example"},"scripts":{"start":"node server.js","build":"babel src --out-dir lib && webpack --config webpack.prod.config.js","lint":"eslint lib example","release":""},"repository":{"type":"git","url":"git+https://github.com/alexkuz/react-object-inspector.git"},"keywords":["react","reactjs","object","object-inspector","treeview","tree-view","tree","view","inspector","react-component","ui"],"author":{"name":"Xiaoyi Chen","email":"cxychina@gmail.com","url":"http://github.com/xyc"},"license":"MIT","bugs":{"url":"https://github.com/alexkuz/react-object-inspector/issues"},"homepage":"https://github.com/alexkuz/react-object-inspector","devDependencies":{"babel-core":"^5.4.7","babel-eslint":"^3.1.9","babel-loader":"^5.1.2","css-loader":"^0.15.6","eslint-plugin-react":"^2.3.0","react":">=0.13.0 || ^0.14.0-alpha","react-hot-loader":"^1.2.7","webpack":"^1.9.6","webpack-dev-server":"^1.8.2"},"peerDependencies":{"react":"^0.13.0 || ^0.14.0-rc1"},"gitHead":"feac2422df6a3899d5089a07b0a0253ca3204396","_id":"@alexkuz/react-object-inspector@0.1.5-patch","_shasum":"c9f722b91e1c495f92c4c26497fddd88fa86123a","_from":".","_npmVersion":"2.14.5","_nodeVersion":"3.3.1","_npmUser":{"name":"alexkuz","email":"alexkuz@gmail.com"},"maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"dist":{"shasum":"c9f722b91e1c495f92c4c26497fddd88fa86123a","tarball":"https://registry.npmjs.org/@alexkuz/react-object-inspector/-/react-object-inspector-0.1.5-patch.tgz","integrity":"sha512-15s4Mys3azuwl5XGWJZpLT3H0V+b2c+1dCNapSQLSg2REBy96cKsI+7pQbJCBcuxSTbHD7BiYzRtSkFcH2J/UQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHgFpRgkkEbn7MlMeSSVU+NR6RJvbwj7yRd0IEHjG3rdAiEA1icDy2wa8uGD/+Ctj7WoMIU/25+qXv2r/yWysxZqx0s="}]}}},"readme":"react-object-inspector\n=====================\n\n[![npm version](https://img.shields.io/npm/v/react-object-inspector.svg?style=flat-square)](https://www.npmjs.com/package/react-object-inspector)\n\nSimple object inspector made with [React](http://facebook.github.io/react/) styled similarly to [Chrome DevTools](https://developer.chrome.com/devtools). You can use this tool to inspect Javascript Objects as an alternative to `<pre>JSON.stringify(data, null, 2)</pre>`. \n\n![](http://xyc.github.io/react-object-inspector/screenshot.png)\n\n[Demo](http://xyc.github.io/react-object-inspector/)\n\nTree state is saved at root. If you click to expand some elements in the hierarchy, the state will be preserved after the element is unmounted.\n\n### Install\n\nNPM:\n```sh\nnpm install react-object-inspector\n```\n\nCSS:\n```html\n<link rel=\"stylesheet\" type=\"text/css\" href=\"path/to/react-object-inspector.css\">\n```\n\n## API\n#### &lt;ObjectInspector />\nThe component accepts the following props:\n- `data`: the Javascript object you would like to inspect\n- `name`: specify the name of the root node, default to undefined\n\n### Usage\n```js\nimport ObjectInspector from 'react-object-inspector';\nlet data = { /* ... */ };\n\nReact.render(\n    <ObjectInspector data={ data } />,\n    document.getElementById('objectInspector')\n);\n```\n\n### Install the example\n```sh\nnpm install && npm start\n```\nOpen http://localhost:3000/example/index.html\n","maintainers":[{"name":"alexkuz","email":"alexkuz@gmail.com"}],"time":{"modified":"2022-06-12T14:28:58.733Z","created":"2015-09-03T22:01:55.601Z","0.1.4":"2015-09-03T22:01:55.601Z","0.1.4-react14":"2015-09-07T11:39:22.353Z","0.1.5-patch":"2015-09-25T22:30:21.478Z"},"homepage":"https://github.com/alexkuz/react-object-inspector","keywords":["react","reactjs","object","object-inspector","treeview","tree-view","tree","view","inspector","react-component","ui"],"repository":{"type":"git","url":"git+https://github.com/alexkuz/react-object-inspector.git"},"author":{"name":"Xiaoyi Chen","email":"cxychina@gmail.com","url":"http://github.com/xyc"},"bugs":{"url":"https://github.com/alexkuz/react-object-inspector/issues"},"license":"MIT","readmeFilename":"README.md"}