Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/ningen/deps.ts>fs.detect

Simple ninja build generator
Latest
function fs.detect
import { fs } from "https://deno.land/x/ningen@0.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