Detect the EOL character for string input. returns null if no newline.
Format the file to the targeted EOL.
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.
Please provide a reason for reporting this package. We will review your report and take appropriate action.
Please review the JSR usage policy before submitting a report.
Add Package
deno add jsr:@std/fs
Import symbol
import * as mod from "@std/fs/eol";
Import directly with a jsr specifier
import * as mod from "jsr:@std/fs/eol";