import * as dtils from "https://deno.land/x/dtils@2.6.0/mod.unstable.ts";
Classes
c Md5 | A utility for creating an Md5 hash from a string or Uint8Array. |
A utility for creating an Sha256 hash from a string or Uint8Array. | |
A utility for creating an Sha512 hash from a string or Uint8Array. | |
Functions
Returns true if arrays are found to match in a shallow-equal test | |
Bind error recovery to | |
Test, lint, and format check source code in the current working directory | |
Chooses a random item from the array and returns it | |
Collect the chunks of | |
Concatenates two strings in such a way that path delimiter attacks cannot occur | |
Copy the contents of | |
Create a watcher that monitors a list of files for updates | |
Asymmetrically decrypt | |
Asymmetrically decrypt | |
Symmetrically decrypt bytes using | |
Symmetrically decrypt bytes using | |
Asymmetrically encrypt | |
Asymmetrically encrypt | |
Symmetrically encrypt bytes using | |
Symmetrically encrypt bytes using | |
f exec | Executes |
Executes | |
Executes | |
Executes | |
Sets the amount of zeros before a number. If | |
Run Deno's builtin formatter | |
Format | |
Generates a base64 encoded key pair for asymmetric encryptions using the RSA algorithm | |
Generates a key pair for asymmetric encryptions using the RSA algorithm | |
Generates a base64 encoded encryption key for symmetric encryptions using the AES algorithm | |
Generates an encryption key for symmetric encryptions using the AES algorithm | |
Generates an asymmetric, base64 encoded key pair for signing or encryption purposes | |
Generates an asymmetric key pair for signing or encryption purposes | |
Generates a base64 encoded key pair for asymmetric signings using the EC algorithm | |
Generates a key pair for asymmetric signings using the EC algorithm | |
Get the current env level ($ENV). Assumes "dev" if invalid or unspecified | |
Get the current log level ($LOG_LEVEL). Assumes "normal" if invalid or unspecified | |
Get the current deployment disposition ($DEPLOY). Assumes false if unset, 0, or false | |
Get the current disposition for reloading dependencies ($RELOAD_DEPS). Assumes false if unset, 0, or false | |
Get the standard application env vars (ENV, RELOAD_DEPS, DEPLOY, and LOG_LEVEL) as an env object | |
Hashes a password into a symmetric encryption key for encryptions using the AES algorithm. Function assumes that password and salt are utf characters, not base64 | |
Hashes a password into a symmetric encryption key for encryptions using the AES algorithm | |
f isAM | |
Parse json. | |
Stringify json with an optional spacer. Wraps the native implementation | |
f lint | Run Deno's builtin linter |
Parses a string of query string parameters | |
Prepends new items onto items | |
Modifies the | |
Returns a random number between | |
Read a file as a Uint8Array. Returns | |
Get all entries in | |
Read a file, parsing it as json. Returns an empty object if the file doesn't exist or can't be parsed. | |
Read a file, parsing it as json. Returns an empty object if the file doesn't exist. Throws if the json can't be parsed. | |
Read 1stream | |
Read a file as a string. Returns an empty string if the file doesn't exist. | |
Recursively read all files in | |
Read the contents of | |
Recursively read all files in | |
Call | |
f sh | Executes |
Executes | |
Executes | |
Executes | |
f sign | Creates a digital signature using a base64 encoded EC private key. Note: function will error if the key passed in is not a private key |
Creates a digital signature using an EC private key. Note: function will error if the key passed in is not a private key | |
Slices a string concatenated with | |
f test | Run Deno's builtin test suite |
Verifies that | |
Verifies that | |
Call | |
Call | |
f wrap | |
Write | |
Write | |
Write |
Type Aliases
T Env | Provides a high-level api for standard application env variables (TODO reference blog post of standards) |
T Json | |