Deno | |
Deno.errors | A set of error constructors that are raised by Deno APIs. |
Deno.Buffer deprecated | A variable-sized buffer of bytes with |
Deno.errors.AddrInUse | |
Deno.errors.AddrNotAvailable | |
Deno.errors.AlreadyExists | |
Deno.errors.BadResource | |
Deno.errors.BrokenPipe | |
Deno.errors.Busy | |
Deno.errors.ConnectionAborted | |
Deno.errors.ConnectionRefused | |
Deno.errors.ConnectionReset | |
Deno.errors.Http | |
Deno.errors.Interrupted | |
Deno.errors.InvalidData | |
Deno.errors.NotConnected | |
Deno.errors.NotFound | |
Deno.errors.NotSupported | |
Deno.errors.PermissionDenied | |
Deno.errors.TimedOut | |
Deno.errors.UnexpectedEof | |
Deno.errors.WriteZero | |
Deno.File deprecated | The Deno abstraction for reading and writing files. |
Deno.FsFile | The Deno abstraction for reading and writing files. |
Deno.Permissions | |
Deno.PermissionStatus | |
Deno.Process |
Deno.SeekMode |
Deno.args | Returns the script arguments to the program. If for example we run a program: |
Deno.build | Build related information. |
Deno.customInspect deprecated | A symbol which can be used as a key for a custom method which will be
called when |
Deno.env | |
Deno.mainModule | The URL of the entrypoint module entered from the command-line. |
Deno.noColor | Reflects the |
Deno.permissions | Deno's permission management API. |
Deno.pid | The current process id of the runtime. |
Deno.ppid | The pid of the current process's parent. |
Deno.stderr | A handle for |
Deno.stdin | A handle for |
Deno.stdout | A handle for |
Deno.version | Version related information. |
Deno.addSignalListener | Registers the given function as a listener of the given signal event. |
Deno.chdir | Change the current working directory to the specified path. |
Deno.chmod | Changes the permission of a specific file/directory of specified path. Ignores the process's umask. |
Deno.chmodSync | Synchronously changes the permission of a specific file/directory of specified path. Ignores the process's umask. |
Deno.chown | Change owner of a regular file or directory. This functionality is not available on Windows. |
Deno.chownSync | Synchronously change owner of a regular file or directory. This functionality is not available on Windows. |
Deno.close | Close the given resource ID (rid) which has been previously opened, such as via opening or creating a file. Closing a file when you are finished with it is important to avoid leaking resources. |
Deno.copy deprecated | Copies from |
Deno.copyFile | Copies the contents and permissions of one file to another specified path, by default creating a new file if needed, else overwriting. Fails if target path is a directory or is unwritable. |
Deno.copyFileSync | Synchronously copies the contents and permissions of one file to another specified path, by default creating a new file if needed, else overwriting. Fails if target path is a directory or is unwritable. |
Deno.create | Creates a file if none exists or truncates an existing file and resolves to
an instance of |
Deno.createSync | Creates a file if none exists or truncates an existing file and returns
an instance of |
Deno.cwd | Return a string representing the current working directory. |
Deno.execPath | Returns the path to the current deno executable. |
Deno.exit | Exit the Deno process with optional exit code. If no exit code is supplied then Deno will exit with return code of 0. |
Deno.fdatasync | Flushes any pending data operations of the given file stream to disk.
|
Deno.fdatasyncSync | Synchronously flushes any pending data operations of the given file stream to disk. |
Deno.fstat | Returns a |
Deno.fstatSync | Synchronously returns a |
Deno.fsync | Flushes any pending data and metadata operations of the given file stream to disk. |
Deno.fsyncSync | Synchronously flushes any pending data and metadata operations of the given file stream to disk. |
Deno.ftruncate | Truncates or extends the specified file stream, to reach the specified |
Deno.ftruncateSync | Synchronously truncates or extends the specified file stream, to reach the
specified |
Deno.inspect | Converts the input into a string that has the same format as printed by
|
Deno.isatty | Check if a given resource id ( |
Deno.iter deprecated | Turns a Reader, |
Deno.iterSync deprecated | Turns a ReaderSync, |
Deno.kill | Send a signal to process under given |
Deno.link | Creates |
Deno.linkSync | Synchronously creates |
Deno.lstat | Resolves to a |
Deno.lstatSync | Synchronously returns a |
Deno.makeTempDir | Creates a new temporary directory in the default directory for temporary
files, unless |
Deno.makeTempDirSync | Synchronously creates a new temporary directory in the default directory
for temporary files, unless |
Deno.makeTempFile | Creates a new temporary file in the default directory for temporary
files, unless |
Deno.makeTempFileSync | Synchronously creates a new temporary file in the default directory for
temporary files, unless |
Deno.memoryUsage | Returns an object describing the memory usage of the Deno process measured in bytes. |
Deno.metrics | Receive metrics from the privileged side of Deno. This is primarily used in the development of Deno. 'Ops', also called 'bindings', are the go-between between Deno JavaScript and Deno Rust. |
Deno.mkdir | Creates a new directory with the specified path. |
Deno.mkdirSync | Synchronously creates a new directory with the specified path. |
Deno.open | Open a file and resolve to an instance of |
Deno.openSync | Synchronously open a file and return an instance of |
Deno.read | Read from a resource ID ( |
Deno.readAll deprecated | Read Reader |
Deno.readAllSync deprecated | Synchronously reads Reader |
Deno.readDir | Reads the directory given by |
Deno.readDirSync | Synchronously reads the directory given by |
Deno.readFile | Reads and resolves to the entire contents of a file as an array of bytes.
|
Deno.readFileSync | Synchronously reads and returns the entire contents of a file as an array
of bytes. |
Deno.readLink | Resolves to the full path destination of the named symbolic link. |
Deno.readLinkSync | Returns the full path destination of the named symbolic link. |
Deno.readSync | Synchronously read from a resource ID ( |
Deno.readTextFile | Asynchronously reads and returns the entire contents of a file as utf8 encoded string. Reading a directory throws an error. |
Deno.readTextFileSync | Synchronously reads and returns the entire contents of a file as utf8 encoded string. Reading a directory throws an error. |
Deno.realPath | Resolves to the absolute normalized path, with symbolic links resolved. |
Deno.realPathSync | Returns absolute normalized path, with symbolic links resolved. |
Deno.remove | Removes the named file or directory. |
Deno.removeSignalListener | Removes the given signal listener that has been registered with Deno.addSignalListener. |
Deno.removeSync | Synchronously removes the named file or directory. |
Deno.rename | Renames (moves) |
Deno.renameSync | Synchronously renames (moves) |
Deno.resolveDns | |
Deno.resources | Returns a map of open resource ids (rid) along with their string
representations. This is an internal API and as such resource
representation has |
Deno.run | Spawns new subprocess. RunOptions must contain at a minimum the |
Deno.seek | Seek a resource ID ( |
Deno.seekSync | Synchronously seek a resource ID ( |
Deno.serveHttp | Services HTTP requests given a TCP or TLS socket. |
Deno.stat | Resolves to a |
Deno.statSync | Synchronously returns a |
Deno.symlink | Creates |
Deno.symlinkSync | Creates |
Deno.test | Register a test which will be run when
|
Deno.truncate | Truncates or extends the specified file, to reach the specified |
Deno.truncateSync | Synchronously truncates or extends the specified file, to reach the
specified |
Deno.upgradeWebSocket | Used to upgrade an incoming HTTP request to a WebSocket. |
Deno.watchFs | Watch for file system events against one or more |
Deno.write | Write to the resource ID ( |
Deno.writeAll deprecated | Write all the content of the array buffer ( |
Deno.writeAllSync deprecated | Synchronously write all the content of the array buffer ( |
Deno.writeFile | Write |
Deno.writeFileSync | Synchronously write |
Deno.writeSync | Synchronously write to the resource ID ( |
Deno.writeTextFile | Asynchronously write string |
Deno.writeTextFileSync | Synchronously write string |
Deno.CAARecord | If |
Deno.Closer | |
Deno.DirEntry | |
Deno.EnvPermissionDescriptor | |
Deno.FfiPermissionDescriptor | |
Deno.FileInfo | A FileInfo describes a file and is returned by |
Deno.FsEvent | |
Deno.FsWatcher | FsWatcher is returned by |
Deno.HrtimePermissionDescriptor | |
Deno.HttpConn | |
Deno.InspectOptions | |
Deno.MakeTempOptions | |
Deno.MemoryUsage | |
Deno.Metrics | |
Deno.MkdirOptions | |
Deno.MXRecord | If |
Deno.NAPTRRecord | If |
Deno.NetPermissionDescriptor | |
Deno.OpenOptions | |
Deno.OpMetrics | |
Deno.PermissionOptionsObject | |
Deno.PermissionStatusEventMap | |
Deno.Reader | |
Deno.ReaderSync | |
Deno.ReadFileOptions | |
Deno.ReadPermissionDescriptor | |
Deno.RemoveOptions | |
Deno.RequestEvent | |
Deno.ResolveDnsOptions | |
Deno.RunOptions | |
Deno.RunPermissionDescriptor | |
Deno.Seeker | |
Deno.SeekerSync | |
Deno.SOARecord | If |
Deno.SRVRecord | If |
Deno.TestContext | |
Deno.TestDefinition | |
Deno.TestStepDefinition | |
Deno.UpgradeWebSocketOptions | |
Deno.WebSocketUpgrade | |
Deno.WriteFileOptions | Options for writing to a file. |
Deno.WritePermissionDescriptor | |
Deno.Writer | |
Deno.WriterSync | |
ImportMeta | Deno provides extra properties on |
Performance | Deno supports user timing Level 3 (see: https://w3c.github.io/user-timing)
which is not widely supported yet in other runtimes. These types are here
so that these features are still available when using the Deno namespace
in conjunction with other type libs, like |
PerformanceMarkOptions | |
PerformanceMeasureOptions |
Deno.FsEventFlag | Additional information for FsEvent objects with the "other" kind. |
Deno.PermissionDescriptor | Permission descriptors which define a permission and can be queried, requested, or revoked. |
Deno.PermissionName | The name of a "powerful feature" which needs permission. |
Deno.PermissionOptions | |
Deno.PermissionState | The current status of the permission. |
Deno.ProcessStatus | |
Deno.RecordType | The type of the resource record. Only the listed types are supported currently. |
Deno.Signal | |
Deno.SymlinkOptions |