import * as dnit from "https://deno.land/x/dnit@dnit-v1.14.3/deps.ts";
Enums
EndOfLine character enum | |
Get log level numeric values through enum constants |
Functions
Take a set of command line arguments, with an optional set of options, and return an object representation of those argument. | |
Create WalkEntry for the | |
Create WalkEntry for the | |
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. If the directory structure does not exist, it is created. | |
Ensures that the link exists. If the directory structure does not exist, it is created. | |
Test whether or not the given path exists by checking with the file system | |
Test whether or not the given path exists by checking with the file system | |
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. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient. | |
Same as walk() but uses synchronous ops | |
Creates a new | |
Log with critical level, using default logger. | |
Log with debug level, using default logger. | |
Log with error level, using default logger. | |
Get a logger instance. If not specified | |
Log with info level, using default logger. | |
Setup logger config. | |
Log with warning level, using default logger. | |
Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator. | |
Convert a glob string to a regular expression. | |
Test whether the given string is a glob | |
Like join(), but doesn't collapse "**/.." when | |
Like normalize(), but doesn't collapse "**/.." when | |
Coerces a string to semver if possible | |
Return true if version is greater than all the versions possible in the range. | |
Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid. | |
Return true if any of the ranges comparators intersect | |
Return true if version is less than all the versions possible in the range. | |
Return the major version number. | |
Return the minor version number. | |
Return true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.) | |
Return the patch version number. | |
Interfaces
A parsed path object generated by path.parse() or consumed by path.format(). | |
Type Aliases
Union of valid log level strings | |