import * as ter from "https://deno.land/x/ter@0.15.51/deps/std.ts";
Namespaces
Command line arguments parser based on minimist. | |
N fm | |
N fs | Helpers for working with the filesystem. |
N path | Utilities for working with OS-specific file paths. |
Enums
Platform-specific conventions for the line ending format (i.e., the "end-of-line"). |
Functions
Make an assertion that | |
Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments. | |
Tests if a string has valid front matter. Supports YAML, TOML and JSON. | |
Copy a file or directory. The directory can have contents. Like | |
Copy a file or directory. The directory can have contents. Like | |
Detect the EOL character for string input. returns null if no newline. | |
Ensures that a directory is empty.
Deletes directory contents if the directory is not empty.
If the directory does not exist, it is created.
The directory itself is not deleted.
Requires the | |
Ensures that a directory is empty.
Deletes directory contents if the directory is not empty.
If the directory does not exist, it is created.
The directory itself is not deleted.
Requires the | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Ensures that the file exists.
If the file that is requested to be created is in directories that do not
exist.
these directories are created. If the file already exists,
it is NOTMODIFIED.
Requires the | |
Ensures that the file exists.
If the file that is requested to be created is in directories that do not
exist,
these directories are created. If the file already exists,
it is NOT MODIFIED.
Requires the | |
Ensures that the hard link exists. If the directory structure does not exist, it is created. | |
Ensures that the hard link exists. If the directory structure does not exist, it is created. | |
Ensures that the link exists, and points to a valid file. If the directory structure does not exist, it is created. | |
Ensures that the link exists, and points to a valid file. If the directory structure does not exist, it is created. | |
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 | |
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 | |
Expand the glob string from the specified | |
Synchronous version of | |
Format the file to the targeted EOL. | |
Moves a file or directory. | |
Moves a file or directory synchronously. | |
Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. | |
Same as walk() but uses synchronous ops | |
Return the last portion of a | |
Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator. | |
Return the directory path of a | |
Return the extension of the | |
Generate a path from | |
Converts a file URL to a path string. | |
Convert a glob string to a regular expression. | |
Verifies whether provided path is absolute | |
Test whether the given string is a glob | |
Join all given a sequence of | |
Like join(), but doesn't collapse "**/.." when | |
Normalize the | |
Like normalize(), but doesn't collapse "**/.." when | |
Return a | |
Return the relative path from | |
Resolves path segments into a | |
Converts a path string to a file URL. | |
Resolves path to a namespace path |
Interfaces
The options for the | |
A parsed path object generated by path.parse() or consumed by path.format(). |
Type Aliases
The value returned from | |