If you are not sure if the website you would like to visit is secure, you can verify it here. Enter the website address of the page and see parts of its content and the thumbnail images on this site. None (if any) dangerous scripts on the referenced page will be executed. Additionally, if the selected site contains subpages, you can verify it (review) in batches containing 5 pages.
favicon.ico: bun.sh/docs/runtime/json5 - JSON5 - Bun.

site address: bun.sh/docs/runtime/json5 redirected to: bun.sh/docs/runtime/json5

site title: JSON5 - Bun

Our opinion (on Wednesday 22 July 2026 19:26:16 UTC):

GREEN status (no comments) - no comments
After content analysis of this website we propose the following hashtags:



Meta tags:
description=Use Bun s built-in support for JSON5 files through both runtime APIs and bundler integration;

Headings (most frequently used words):

json5, runtime, module, import, system, bun, imports, documentation, index, on, this, page, conformance, api, hot, reloading, with, bundler, integration, get, started, core, file, http, server, networking, data, storage, concurrency, process, interop, tooling, utilities, standards, compatibility, contributing, parse, stringify, es, modules, commonjs, dynamic, supported, features, error, handling, pretty, printing, special, values, default, named,

Text of the page (most frequently used words):
json5 (52), bun (27), and (14), config (14), #import (13), console (11), stringify (11), app (10), features (10), parse (10), log (9), true (9), files (8), runtime (8), with (8), server (8), name (8), page (7), const (7), database (7), nan (7), the (7), api (7), line (7), can (6), imports (6), you (6), hot (6), infinity (6), data (6), error (6), modules (5), bundler (5), host (5), from (5), debug (5), require (5), web (5), trailing (5), single (5), file (5), this (4), documentation (4), named (4), reloading (4), port (4), localhost (4), module (4), special (4), tags (4), pretty (4), version (4), strings (4), double (4), quoted (4), test (4), copy (4), default (3), build (3), when (3), javascript (3), integration (3), req (3), fetch (3), commonjs (3), values (3), json (3), string (3), handling (3), multi (3), commas (3), unquoted (3), keys (3), toml (3), apis (3), utilities (3), system (3), built (2), jsonl (2), markdown (2), imported (2), dynamic (2), properties (2), bundle (2), parsing (2), time (2), terminal (2), are (2), run (2), verbose (2), false (2), also (2), myapp (2), ratelimit (2), auth (2), inf (2), ninf (2), null (2), indentation (2), argument (2), number (2), space (2), printing (2), str (2), value (2), invalid (2), hex (2), numbers (2), ecmascript (2), comments (2), supports (2), supported (2), suite (2), conformance (2), watch (2), mode (2), support (2), yaml (2), use (2), contributing (2), node (2), compatibility (2), cookies (2), install (2), typescript (2), search (2), index (2), hosted, mintlify, developer, platform, powered, youtube, discord, github, next, previous, raise, issue, suggest, edits, yes, was, helpful, await, dynamically, tree, shaking, unused, smaller, sizes, zero, overhead, production, means, outdir, dist, parsed, included, hello, world, response, new, return, url, method, hostname, serve, 3000, your, application, reloads, they, change, destructuring, works, destructure, top, level, analytics, 5432, configuration, directly, unlike, preserves, numeric, tab, spaces, used, indent, character, pass, format, output, message, failed, catch, try, throws, input, syntaxerror, multiline, half, 0xdeadbeef, comma, quotes, work, explicit, plus, sign, positive, negative, leading, decimal, points, 0xff, using, backslash, continuations, addition, any, valid, identifier, objects, arrays, superset, based, syntax, allowed, into, parser, written, rust, passes, 100, lists, every, case, translated, official, frontend, apps, including, first, class, citizen, alongside, for, through, both, license, bindgen, building, windows, benchmarking, roadmap, globals, standards, utils, color, semver, glob, hashing, image, htmlrewriter, secrets, csrf, protection, transpiler, compiler, ffi, interop, tooling, cron, webview, spawn, shell, environment, variables, process, workers, concurrency, redis, sqlite, sql, archive, binary, streams, storage, dns, udp, tcp, websockets, networking, metrics, tls, routing, http, router, plugins, auto, jsx, resolution, types, bunfig, repl, debugging, core, create, init, quickstart, installation, welcome, get, started, feedback, blog, reference, guides, runner, package, manager, navigation, home, skip, main, content, discover, all, available, pages, before, exploring, further, complete, docs, llms, txt,


Text of the page (random words):
json5 bun documentation index fetch the complete documentation index at docs llms txt use this file to discover all available pages before exploring further skip to main content bun home page search k install bun search navigation utilities json5 runtime package manager bundler test runner guides reference blog feedback get started welcome to bun installation quickstart typescript typescript 6 and 7 bun init bun create core runtime bun runtime watch mode debugging repl bunfig toml file module system file types module resolution jsx auto install plugins file system router http server server routing cookies tls error handling metrics networking fetch websockets tcp udp dns data storage cookies file i o streams binary data archive sql sqlite s3 redis concurrency workers process system environment variables shell spawn webview cron interop tooling node api ffi c compiler transpiler utilities csrf protection secrets console toml yaml markdown json5 jsonl htmlrewriter image hashing glob semver color utils standards compatibility globals bun apis web apis node js compatibility contributing roadmap benchmarking contributing building windows bindgen license on this page conformance runtime api bun json5 parse supported json5 features error handling bun json5 stringify pretty printing special values module import es modules default import named imports commonjs hot reloading with json5 bundler integration dynamic imports utilities json5 copy page copy page use bun s built in support for json5 files through both runtime apis and bundler integration copy page copy page in bun json5 is a first class citizen alongside json toml and yaml you can parse and stringify json5 with bun json5 parse and bun json5 stringify import require json5 files as modules at runtime including hot reloading watch mode support import require json5 files in frontend apps with bun s bundler conformance bun s json5 parser is written in rust and passes 100 of the official json5 test suite the translated test suite lists every test case runtime api bun json5 parse parse a json5 string into a javascript value import json5 from bun const data json5 parse json5 supports comments name my app version 1 0 0 debug true trailing commas are allowed tags web api console log data name my app version 1 0 0 debug true tags web api supported json5 features json5 is a superset of json based on ecmascript 5 1 syntax it supports comments single line and multi line trailing commas in objects and arrays unquoted keys any valid ecmascript 5 1 identifier single quoted strings in addition to double quoted strings multi line strings using backslash line continuations hex numbers 0xff leading trailing decimal points 5 and 5 infinity and nan positive and negative explicit plus sign 42 const data json5 parse unquoted keys unquoted keys work single and double quotes single single quoted double double quoted trailing commas trailing comma special numbers hex 0xdeadbeef half 5 to infinity nan nan multi line strings multiline line 1 line 2 error handling bun json5 parse throws a syntaxerror if the input is invalid json5 try json5 parse invalid catch error console error failed to parse json5 error message bun json5 stringify stringify a javascript value to a json5 string import json5 from bun const str json5 stringify name my app version 1 0 0 console log str name my app version 1 0 0 pretty printing pass a space argument to format the output with indentation const pretty json5 stringify name my app debug true tags web api null 2 console log pretty name my app debug true tags web api the space argument can be a number number of spaces or a string used as the indent character tab indentation json5 stringify data null t special values unlike json stringify json5 stringify preserves special numeric values json5 stringify inf infinity ninf infinity nan nan inf infinity ninf infinity nan nan module import es modules you can import json5 files directly as es modules config json5 database configuration database host localhost port 5432 name myapp features auth true ratelimit true analytics false default import app ts import config from config json5 console log config database host localhost console log config features auth true named imports you can destructure top level properties as named imports app ts import database features from config json5 console log database host localhost console log features ratelimit true commonjs you can also require json5 files in commonjs app ts const config require config json5 console log config database name myapp destructuring also works const database features require config json5 hot reloading with json5 when you run your application with bun hot bun reloads json5 files when they change config json5 server port 3000 host localhost features debug true verbose false server ts import server features from config json5 bun serve port server port hostname server host fetch req if features verbose console log req method req url return new response hello world run with hot reloading terminal bun hot server ts bundler integration when you bundle with bun imported json5 files are parsed at build time and included as javascript modules terminal bun build app ts outdir dist parsing at build time means zero runtime json5 parsing overhead in production smaller bundle sizes tree shaking of unused properties named imports dynamic imports json5 files can be dynamically imported const default config await import config json5 was this page helpful yes no suggest edits raise issue markdown previous jsonl next i x github discord youtube powered by this documentation is built and hosted on mintlify a developer documentation platform
Thumbnail images (randomly selected): * Images may be subject to copyright.GREEN status (no comments)
  • light logo
  • dark logo

Verified site has: 78 subpage(s). Do you want to verify them? Verify pages:

1-5 6-10 11-15 16-20 21-25 26-30 31-35 36-40 41-45 46-50
51-55 56-60 61-65 66-70 71-75 76-78


The site also has 1 references to other resources (not html/xhtml )

 bun.sh/docs/llms.txt  Verify


Top 50 hastags from of all verified websites.

Supplementary Information (add-on for SEO geeks)*- See more on header.verify-www.com

Header

HTTP/1.1 301 Moved Permanently
Date Wed, 22 Jul 2026 19:26:15 GMT
Content-Type text/html; charset=UTF-8
Transfer-Encoding chunked
Connection close
Server-Timing cfEdge;dur=14,cfOrigin;dur=0
Location htt????/bun.sh/docs/runtime/json5
Report-To group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=eX3fN8UUDId7cm8cPU13hfMRAMmPD5FrwvQcYmUDymsvr%2FUvQMjNOuHeyOGCGG4DbIyp7UeA%2FyTzblfB4T1JKUI3rL%2FJMCvUe%2BoyItxT6Wdfxyl8uKJWsg%3D%3D ]
Nel report_to : cf-nel , success_fraction :0.0, max_age :604800
Server cloudflare
CF-RAY a1f4d6031f534946-AMS
HTTP/2 200
date Wed, 22 Jul 2026 19:26:15 GMT
content-type text/html; charset=utf-8
age 40218
cache-control no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0
cf-cache-status DYNAMIC
x-version dpl_E5hM3kgxddpQVzngfiKaiyhhVxPt
nel report_to : cf-nel , success_fraction :0.0, max_age :604800
content-security-policy worker-src * blob: data: unsafe-eval unsafe-inline ; object-src data: ; base-uri self ; upgrade-insecure-requests; frame-ancestors self htt????/dashboard.mintlify.com htt????/app.mintlify.com; form-action self htt????/codesandbox.io;
expires 0
link </docs/llms.txt>; rel= llms-txt , </docs/llms-full.txt>; rel= llms-full-txt , </docs/.well-known/api-catalog>; rel= api-catalog , </docs/.well-known/mcp/server-card.json>; rel= mcp-server-card , </docs/.well-known/agent-card.json>; rel= agent-card , </docs/.well-known/agent-skills/index.json>; rel= agent-skills
pragma no-cache
server cloudflare
strict-transport-security max-age=63072000
vary rsc, next-router-state-tree, next-router-prefetch, next-router-segment-prefetch, accept-encoding
x-frame-options DENY
x-llms-txt /docs/llms.txt
x-matched-path /_sites/[subdomain]/[[...slug]]
x-mint-proxy-version 1.0.0-prod
x-mintlify-client-version 0.0.3298
x-nextjs-prerender 1
x-nextjs-stale-time 60
x-served-version dpl_E5hM3kgxddpQVzngfiKaiyhhVxPt
x-vercel-cache HIT
x-vercel-id cdg1:cdg1:cdg1:cdg1:fra1::iad1::fzzx5-1784748375599-d43c291dbd00
x-vercel-project-id prj_ekSYngkqMLMUb1wdarxNSixTj2nj
server-timing cfCacheStatus;desc= DYNAMIC
server-timing cfEdge;dur=7,cfOrigin;dur=75
report-to group : cf-nel , max_age :604800, endpoints :[ url : htt????/a.nel.cloudflare.com/report/v4?s=obTMRMj6Ik5MGP9D8PXCB53qzJxKbViLBFFHh6uvH0eQi5Okuo41V073MmCCzA8oleG6tDbt9V%2F0TxYM7AB%2FM8EqACH9xTVhP8tLrjtexetB8M5BWhK6vQ%3D%3D ]
content-encoding gzip
cf-ray a1f4d6036c4cebaa-CDG

Meta Tags

title="JSON5 - Bun"
charset="utf-8"
name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover"
name="description" content="Use Bun's built-in support for JSON5 files through both runtime APIs and bundler integration"
name="application-name" content="Bun"
name="generator" content="Mintlify"
name="msapplication-config" content="/docs/_mintlify/favicons/bun-1dd33a4e/EVjBxeJFWkPSAqAJ/_generated/favicon/browserconfig.xml"
name="apple-mobile-web-app-title" content="Bun"
name="msapplication-TileColor" content="#ff73a8"
property="og:title" content="JSON5 - Bun"
property="og:description" content="Use Bun's built-in support for JSON5 files through both runtime APIs and bundler integration"
property="og:url" content="htt????/bun.com/docs/runtime/json5"
property="og:site_name" content="Bun"
property="og:image" content="htt????/bun-1dd33a4e.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DUtilities%26appearance%3Dsystem%26title%3DJSON5%26description%3DUse%2BBun%2527s%2Bbuilt-in%2Bsupport%2Bfor%2BJSON5%2Bfiles%2Bthrough%2Bboth%2Bruntime%2BAPIs%2Band%2Bbundler%2Bintegration%26logoLight%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-dark.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D3f55cd23822028e40658b192c927f3e4%26logoDark%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-light.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D8a0c5928d9dc3631f0d33e17c257e2ec%26primaryColor%3D%2523ff73a8%26lightColor%3D%2523ff73a8%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230e0b0e&w=1200&q=100"
property="og:image:width" content="1200"
property="og:image:height" content="630"
property="og:type" content="website"
name="twitter:card" content="summary_large_image"
name="twitter:title" content="JSON5 - Bun"
name="twitter:description" content="Use Bun's built-in support for JSON5 files through both runtime APIs and bundler integration"
name="twitter:image" content="htt????/bun-1dd33a4e.mintlify.app/_next/image?url=%2F_mintlify%2Fapi%2Fog%3Fdivision%3DUtilities%26appearance%3Dsystem%26title%3DJSON5%26description%3DUse%2BBun%2527s%2Bbuilt-in%2Bsupport%2Bfor%2BJSON5%2Bfiles%2Bthrough%2Bboth%2Bruntime%2BAPIs%2Band%2Bbundler%2Bintegration%26logoLight%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-dark.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D3f55cd23822028e40658b192c927f3e4%26logoDark%3Dhttps%253A%252F%252Fmintcdn.com%252Fbun-1dd33a4e%252FJUhaF6Mf68z_zHyy%252Flogo%252Flogo-with-wordmark-light.svg%253Ffit%253Dmax%2526auto%253Dformat%2526n%253DJUhaF6Mf68z_zHyy%2526q%253D85%2526s%253D8a0c5928d9dc3631f0d33e17c257e2ec%26primaryColor%3D%2523ff73a8%26lightColor%3D%2523ff73a8%26backgroundLight%3D%2523ffffff%26backgroundDark%3D%25230e0b0e&w=1200&q=100"
name="twitter:image:width" content="1200"
name="twitter:image:height" content="630"

Load Info

page size58612
load time (s)0.211621
redirect count1
speed download277781
server IP 172.67.70.226
* all occurrences of the string "http://" have been changed to "htt???/"