WeSearch

I built a free JSON formatter in a single HTML file (no libraries, no backend)

·3 min read · 0 reactions · 0 comments · 10 views
I built a free JSON formatter in a single HTML file (no libraries, no backend)

Title: I built a free JSON formatter in a single HTML file (no libraries, no...

Original article
DEV.to (Top)
Read full at DEV.to (Top) →
Opening excerpt (first ~120 words) tap to expand

try { if(localStorage) { let currentUser = localStorage.getItem('current_user'); if (currentUser) { currentUser = JSON.parse(currentUser); if (currentUser.id === 3903480) { document.getElementById('article-show-container').classList.add('current-user-is-article-author'); } } } } catch (e) { console.error(e); } There's A Website For That Posted on Apr 29 I built a free JSON formatter in a single HTML file (no libraries, no backend) #webdev #javascript #beginners #opensource Title: I built a free JSON formatter in a single HTML file (no libraries, no backend) Tags: javascript webdev beginners opensource Content: I've used a lot of JSON formatters online. Most of them require an account, show aggressive ads, or send your data to a server.

Excerpt limited to ~120 words for fair-use compliance. The full article is at DEV.to (Top).

Anonymous · no account needed
Share 𝕏 Facebook Reddit LinkedIn Threads WhatsApp Bluesky Mastodon Email

Discussion

0 comments

More from DEV.to (Top)