Module

std/dotenv/mod.ts>stringify

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

Examples

Example 1

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