Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/opine/src/utils/stringify.ts>stringify

Minimalist web framework for Deno ported from ExpressJS.
Very Popular
Go to Latest
function stringify
import { stringify } from "https://deno.land/x/opine@2.3.3/src/utils/stringify.ts";

Stringify JSON, like JSON.stringify, but v8 optimized, with the ability to escape characters that can trigger HTML sniffing.

Parameters

value: any
replacer: any
spaces: number
escape: boolean

Returns

string