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

x/deno_bundler/deps.ts>fs.detect

A Bundler with the web in mind.
Latest
function fs.detect
import { fs } from "https://deno.land/x/deno_bundler@v0.9.1/deps.ts";
const { detect } = fs;

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

Parameters

content: string

Returns

EOL | null