@ende/fs/eol

ende add jsr:@ende/fs

Version 2026.10.15 on JSR.

Exports

  • CRLF — End-of-line character for Windows platforms.
  • detect — Returns the detected EOL character(s) detected in the input string. If no EOL character is detected, `null` is returned.
  • EOL — End-of-line character evaluated for the current platform.
  • format — Normalize the input string to the targeted EOL.
  • LF — End-of-line character for POSIX platforms such as macOS and Linux.