
Security News
Deno Goes the Way of the Dinosaur
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.
react-prettify-json
Advanced tools
Minimalist package which makes possible for you to display your JSON as a element on your React App, personalizing the colors.
npm install --save react-prettify-json
import React from 'react';
import PrettyJSON from 'react-prettify-json';
const Example: React.FC = () => {
const jsonObject = {
"react": ">=16.0.0",
"@unform/core": ">=5.0.0"
}
return (
<PrettyJSON
jsonObject={jsonObject}
/>
)
}
You can use that above and you're done. But, if you want a little more customization, you can set your own colors
<PrettyJSON
jsonObject={jsonObject}
colors={{
punctuation: '#fff',
key: '#a3fff3',
value: '#49cabe',
string: '#49caeb',
}}
/>
And achieve a result like this (photo took directly from my portfolio)

If a prop is Required, the default field will appear empty.
| name | type | description | default |
|---|---|---|---|
| jsonObject | json object (pls) | The json object that you want styled | -- |
| colors | object: punctuation, key, value, string | Each color variable corresponds to each one of JSON data types | everything black |
MIT © Bruno De Masi
FAQs
Simple React Component for displaying data in a pretty way
The npm package react-prettify-json receives a total of 0 weekly downloads. As such, react-prettify-json popularity was classified as not popular.
We found that react-prettify-json 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.

Security News
Cloudflare is acquiring Deno’s team, which will provide another year of bug fixes and security updates before ending support for the runtime.

Security News
Anthropic’s free OSS Scanner uses Mythos and other Claude models to find open source vulnerabilities and send maintainers reports with proposed fixes.

Security News
On Front Lines’ Early Adopters: CISO podcast, Andrew Becherer shares lessons from Datadog, weighs the long-term costs of AI-built tools, and explains how founders can actually gain a CISO’s trust.