Skip to main content
Module

x/clone/deps.ts>fs.detect

A simple utility for the convenient clone
Latest
function fs.detect
import { fs } from "https://deno.land/x/clone@v1.0.6/deps.ts";
const { detect } = fs;

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

Parameters

content: string

Returns

EOL | null