Skip to main content
Module

std/fs/eol.ts

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
import * as mod from "https://deno.land/std@0.218.0/fs/eol.ts";

Variables

End-of-line character for Windows platforms.

End-of-line character evaluated for the current platform.

End-of-line character for POSIX platforms such as macOS and Linux.

Functions

Detect the EOL character for string input. returns null if no newline.

Format the file to the targeted EOL.