Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dnit/deps.ts>fs.detect

dnit: typescript (deno) task executor
Go to Latest
function fs.detect
import { fs } from "https://deno.land/x/dnit@dnit-v1.14.3/deps.ts";
const { detect } = fs;

Detect the EOL character for string input. returns null if no newline

Parameters

content: string

Returns

EOL | null