Skip to main content
Module

std/fs/eol.ts>format

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

Format the file to the targeted EOL

Parameters

content: string
eol: EOL

Returns

string