EOL

import { EOL } from "jsr:@ende/fs";

variable

const EOL: "\n" | "\r\n"

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

Example: Usage

import { EOL } from "@ende/fs/eol";

EOL; // "\n" on POSIX platforms and "\r\n" on Windows

Source