
Security News
The Changelog Podcast: Practical Steps to Stay Safe on npm
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.
react-json-viewer-cool
Advanced tools
React json view plugin, supports expansion and hiding. Uses react hooks.
React json view plugin, supports expansion and hiding.use react hooks.
npm install --save react-json-viewer-cool
import ReactJsonViewer from 'react-json-viewer-cool';
const data = {
number: 1,
string: 'hello',
array: [1, 2, 3, 4],
object: {
key: 'oops!'
},
bool: true,
null: null,
undefined: undefined,
function: () => {},
error: new Error('e..'),
regExp: /\w/g,
date: new Date(),
symbol: Symbol('a'),
map: new Map(),
set: new Set(),
any_thing: '...'
};
function App() {
return <ReactJsonViewer data={data} />;
}
ReactDOM.render(<App />, document.getElementById('root'));

| Attribute | Type | Default |
|---|---|---|
| data | any | no |
not yet...
如果喜欢请给个星星,谢谢。 If you like, please give me a star, thank you.
如果需要帮助: QQ:1573815240 邮箱: 1573815240@qq.com if you need help: QQ:1573815240 email: 1573815240@qq.com
FAQs
React json view plugin, supports expansion and hiding. Uses react hooks.
The npm package react-json-viewer-cool receives a total of 19,014 weekly downloads. As such, react-json-viewer-cool popularity was classified as popular.
We found that react-json-viewer-cool demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Learn the essential steps every developer should take to stay secure on npm and reduce exposure to supply chain attacks.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.