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

std/dotenv/mod.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.184.0/dotenv/mod.ts";

Examples

Example 1

import { stringify } from "https://deno.land/std@0.184.0/dotenv/mod.ts";

const object = { GREETING: "hello world" };
const string = stringify(object); // GREETING='hello world'

Parameters

object: Record<string, string>

object to be stringified