strip(): string
Strip comments from JSON. Lets you use comments in your JSON files!
A JSON string without comments.
strip comments from your json
strip(): string
Strip comments from JSON. Lets you use comments in your JSON files!
A JSON string without comments.
Add Package
deno add jsr:@luxass/strip-json-comments
Import symbol
import { strip } from "@luxass/strip-json-comments";
---- OR ----
Import directly with a jsr specifier
import { strip } from "jsr:@luxass/strip-json-comments";
Add Package
npx jsr add @luxass/strip-json-comments
Import symbol
import { strip } from "@luxass/strip-json-comments";
Add Package
yarn dlx jsr add @luxass/strip-json-comments
Import symbol
import { strip } from "@luxass/strip-json-comments";
Add Package
pnpm dlx jsr add @luxass/strip-json-comments
Import symbol
import { strip } from "@luxass/strip-json-comments";
Add Package
bunx jsr add @luxass/strip-json-comments
Import symbol
import { strip } from "@luxass/strip-json-comments";