variable EOL
End-of-line character evaluated for the current platform.
Examples
Example 1
Example 1
import { EOL } from "@std/fs/eol"; EOL; // Returns "\n" on POSIX platforms or "\r\n" on Windows
Type
"\n" | "\r\n"End-of-line character evaluated for the current platform.
Example 1
import { EOL } from "@std/fs/eol"; EOL; // Returns "\n" on POSIX platforms or "\r\n" on Windows
"\n" | "\r\n"