FeaturesTemplatesShowcaseTownie
AI
BlogDocsPricing
Log inSign up
vladimyr

vladimyr

json_viewer

Remix of stevekrouse/json_viewer
Public
Like
json_viewer
Home
Code
2
README.md
main.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
Code
/
Search
README.md

Inspector to browser json data in HTTP vals

Screenshot 2024-02-23 at 9.31.42 AM.png

Live example: https://stevekrouse-weatherdescription.web.val.run/

Installation

Create val
import { fetch } from "https://esm.town/v/std/fetch"; import { json_viewer } from "https://esm.town/v/stevekrouse/json_viewer"; export const weatherDescription = async (params: string[]): Promise<unknown> => { let data = await fetch(`https://wttr.in/${params["city"]}?format=j1`); let jsonData = await data.json(); return json_viewer(jsonData); };

https://val.town/v/stevekrouse/weatherDescription

Thanks @mmcgrana (https://markmcgranaghan.com/) for the idea!

Migrated from folder: a0_forks/json_viewer

Code
README.mdmain.tsx
FeaturesVersion controlCode intelligenceCLI
Use cases
TeamsAI agentsSlackGTM
ExploreDocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareersBrandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Terms of usePrivacy policyAbuse contact
© 2025 Val Town, Inc.