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

std/toml/stringify.ts>stringify

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function stringify
import { stringify } from "https://deno.land/std@0.219.1/toml/stringify.ts";

Stringify dumps source object into TOML string and returns it.

Parameters

srcObj: Record<string, unknown>
optional
fmtOptions: FormatOptions

format options

Returns

string