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

std/fs/eol.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.203.0/fs/eol.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.