Skip to main content
Module

std

Deno standard library
Go to Latest
Index
archive

Tar is a utility for collecting multiple files (or any arbitrary data) into one archive file, while untar is the inverse utility to extract the files from an archive. Files are not compressed, only collected into the archive.

assert

A library of assertion functions. If the assertion is false an AssertionError will be thrown which will result in pretty-printed diff of failing assertion.

async

Provide help with asynchronous tasks like delays, debouncing, deferring, or pooling.

bytes

Provides helper functions to manipulate Uint8Array byte slices that are not included on the Uint8Array prototype.

cli

Tools for creating interactive command line tools.

collections

Pure functions for common tasks around collection types like arrays and objects.

console

Functions for console-related tasks such as TTY text layout.

crypto
csv

Reads and writes comma-separated values (CSV) files.

data_structures

Data structures for use in algorithms and other data manipulation.

datetime

Utilities for dealing with Date objects.

dotenv

Parses and loads environment variables from a .env file into the current process, or stringify data into a .env file format.

encoding
expect

This module provides Jest compatible expect assertion functionality.

flags

Command line arguments parser based on minimist.

fmt
front_matter

Extracts front matter from strings. Adapted from jxson/front-matter.

fs

Helpers for working with the filesystem.

html

Functions for HTML tasks such as escaping or unescaping HTML entities.

http

Provides user-friendly serve on top of Deno's native HTTP server and other utilities for creating HTTP servers and clients.

ini

parse and stringify for handling INI encoded data, such as the Desktop Entry specification. Values are parsed as strings by default to preserve data parity from the original. Customization is possible in the form of reviver/replacer functions like those in JSON.parse and JSON.stringify. Nested sections, repeated key names within a section, and key/value arrays are not supported, but will be preserved when using IniMap. Multi-line values are not supported and will throw a syntax error. White space padding and lines starting with '#', ';', or '//' will be treated as comments.

io

Utilities for working with Deno's readers, writers, and web streams.

json

Utilities for parsing streaming JSON data.

jsonc

Provides tools for working with JSONC (JSON with comments). Currently, this module only provides a means of parsing JSONC. JSONC serialization is not yet supported.

log

Logging library with the support for terminal and file outputs. Also provides interfaces for building custom loggers.

media_types

Utility functions for media types (MIME types).

msgpack
net

Network utilities.

path

Utilities for working with OS-specific file paths.

permissions

Helpers for interacting with Deno's permissions system.

regexp

Functions for tasks related to regular expression (regexp), such as escaping text for interpolation into a regexp.

semver

The semantic version parser.

streams

Utilities for working with the Streams API.

testing
text
toml

parse and stringify for handling TOML encoded data. Be sure to read the supported types as not every spec is supported at the moment and the handling in TypeScript side is a bit different.

ulid

Utilities for generating and working with Universally Unique Lexicographically Sortable Identifiers (ULIDs).

url

Utilities for working with URL paths.

uuid

Generators and validators for UUIDs for versions v1, v3, v4 and v5.

webgpu

Utilities for interacting with the WebGPU API.

yaml

parse and stringify for handling YAML encoded data.

version.ts