Skip to main content
Module

x/dev_server/deps.ts>fs.detect

Feel free to import TypeScript files in the script tag!
Latest
function fs.detect
import { fs } from "https://deno.land/x/dev_server@v1.0.0-rc4/deps.ts";
const { detect } = fs;

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

Parameters

content: string

Returns

EOL | null