Skip to main content
Module

std/dotenv/mod.ts>stringify

Deno standard library
Go to Latest
function stringify
import { stringify } from "https://deno.land/std@0.177.0/dotenv/mod.ts";

Examples

Example 1

import { stringify } from "https://deno.land/std@0.177.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