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

x/molt/lib/std/fs.ts

Update dependencies the Deno way
Latest
import * as molt from "https://deno.land/x/molt@0.17.2/lib/std/fs.ts";

Variables

End-of-line character evaluated for the current platform.

End-of-line character for POSIX platforms such as macOS and Linux.

Functions

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

Test whether or not the given path exists by checking with the file system. Please consider to check if the path is readable and either a file or a directory by providing additional options:

Test whether or not the given path exists by checking with the file system. Please consider to check if the path is readable and either a file or a directory by providing additional options:

Format the file to the targeted EOL.