Skip to main content
Products
Open Source
Deno
Modern runtime for JavaScript and TypeScript
Fresh
Web framework designed for the edge
JSR
TypeScript-first ESM package registry
Commercial
Deno for Enterprise
Enterprise support for runtime projects
Deploy
Easy serverless hosting for your JavaScript projects
Subhosting
Securely run untrusted code in a scalable sandbox
Docs
Manual
API Reference
Deno Deploy
Deno KV
Deno by Example
Modules
Current path
deno.land/x
Standard Library
Node.js & npm
JSR
Blog
Search…
⌘K
Module
x
/
jsonc
/
impl
/
format.ts
Scanner and parser for JSON with comments.
BenjaminAster/node-jsonc-parser
Version
Latest
1
v4.0.0
v1.0.1
v1.0.0
Menu
edit.ts
f
applyEdit
f
isWS
f
removeProperty
f
setProperty
format.ts
f
format
f
isEOL
parser.ts
f
contains
f
findNodeAtLocation
f
findNodeAtOffset
f
getLocation
f
getNodePath
f
getNodeType
f
getNodeValue
f
parse
f
parseTree
f
stripComments
f
visit
scanner.ts
f
createScanner
import
*
as
jsonc
from
"https://deno.land/x/jsonc@1/impl/format.ts"
;
Functions
f
format
f
isEOL