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

std/fs/mod.ts>EOL

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
enum EOL
import { EOL } from "https://deno.land/std@0.204.0/fs/mod.ts";

Platform-specific conventions for the line ending format (i.e., the "end-of-line").

Members

CRLF = "\r\n"

Carriage Return + Line Feed. Historically used in Windows and early DOS systems.

LF = "\n"

Line Feed. Typically used in Unix (and Unix-like) systems.