Skip to main content
EOL - os - Node documentation
variable EOL

Usage in Deno

import { EOL } from "node:os";

The operating system-specific end-of-line marker.

  • \n on POSIX
  • \r\n on Windows

Type

string