import * as createReactApp from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
Classes
Completion list type. | |
Boolean type with auto completion. Allows | |
String type with auto completion of child command names. | |
Generates shell completion scripts for various shell's. | |
Generates well formatted and colored help output for specified command. | |
Number type. | |
String type. Allows any value. | |
Base class for custom types. | |
A validation error is thrown when the command is wrongly used by the user. For example: If the user passes some invalid options or arguments to the command. | |
A class which registers middleware (via | |
Provides context about the current request and response to middleware functions. | |
An interface which allows setting and accessing cookies related to both the current request and response. | |
A class which provides an interface to access the fields of a
| |
A base class for individual classes of HTTP errors. | |
An interface which provides information about the current request. | |
An interface to control what response will be sent when the middleware finishes processing the request. | |
An interface for registering middleware that will run when certain HTTP methods and paths are requested, as well as provides a way to parameterize parts of the requested path. | |
An event which contains information which will be sent to the remote
connection and be made available in an | |
Enums
EndOfLine character enum | |
HTTP status codes |
Variables
An object which contains an individual HTTP Error for each HTTP status
error code (4XX and 5XX). When errors are raised related to a particular
HTTP status code, they will be of the appropriate instance located on this
object. Also, context's | |
A symbol that indicates to | |
Functions
Get number of the day in the year | |
Calculate difference between two dates. | |
Format date using format string | |
Check given year is a leap year or not. based on : https://docs.microsoft.com/en-us/office/troubleshoot/excel/determine-a-leap-year | |
Parse date from string using format string | |
Parse a date to return a IMF formated string date RFC: https://tools.ietf.org/html/rfc7231#section-7.1.1.1 IMF is the time format to use when generating times in HTTP headers. The time being formatted must be in UTC for Format to generate the correct format. | |
Get number of the week in the year (ISO-8601) | |
Create WalkEntry for the | |
Create WalkEntry for the | |
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. 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 | |
Compose multiple middleware functions into a single middleware function. | |
Given a context, return the | |
Determines if a HTTP | |
Determines if a HTTP | |
Asynchronously fulfill a response with a file from the local file system. | |
f open | |
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 | |
Parse addr from string | |
Start an HTTP server with given options and request handler | |
Start an HTTPS server with given options and request handler | |
Create a HTTP server | |
Create an HTTPS server with given options |
Interfaces
Argument details. | |
Command option options. | |
Completion options. | |
Completion settings. | |
Environment variable settings. | |
Environment variable options | |
Example settings. | |
Command option settings. | |
Result of | |
Type settings. | |
Type details. | |
Type options. | |
Middleware are functions which are chained together to deal with requests. | |
The context passed router middleware. | |
Middleware that will be called by the router when handling a specific parameter, which the middleware will be called when a request matches the route parameter. | |
An interface that aligns to the parts of | |
An interface that aligns to what oak returns and is compatible with
| |
A parsed path object generated by path.parse() or consumed by path.format(). | |
Interface of HTTP server response. If body is a Reader, response would be chunked. If body is a string, it would be UTF-8 encoded by default. |
Type Aliases
Action handler for commands and options. | |
Type parser method. | |
Default flag value | |
Description handler. | |
Value handler for custom value processing. | |
Help callback method to print the help. Invoked by the | |
Custom type handler/parser. | |
A HTTP status that is an error (4XX and 5XX). | |
A representation of a file that has been read from a form data body. | |
A HTTP status that is a redirect (3XX). | |
Options for creating an HTTP server. | |
Options for creating an HTTPS server. |