Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/clone/deps.ts>fs.format

A simple utility for the convenient clone
Latest
function fs.format
import { fs } from "https://deno.land/x/clone@v1.0.6/deps.ts";
const { format } = fs;

Format the file to the targeted EOL

Parameters

content: string
eol: EOL

Returns

string