🧰 Miscellaneous utilities for TypeScript projects.
Functions
Download Chromium binary for AWS Lambda environment.
Type Aliases
Chromium download options.
- arch: Deno.build.arch
System architecture. Default is current architecture.
- debug: boolean
Enable debugging.
- env: boolean
Set environment variables for
FONTCONFIG_PATHandLD_LIBRARY_PATH(requires --allow-env). Default istrue. - force: boolean
Force download even if file exists.
- path: string
Path to save Chromium binary. Default is
/tmp/chromium. - url: string
Download URL.
- version: string
Chromium version. Default is
141.0.0.
Functions
Changes the current working directory.
Gets the current working directory.
Gets the file type of a file path.
Lists all files matching the given glob pattern in the specified root directory.
Type Aliases
Options for list().
- directories: boolean
Whether to include directories in the results.
- files: boolean
Whether to include files in the results.
- relative: boolean
Whether to return relative paths.
- root: string
Root directory to search in. Defaults to the current working directory.
Functions
Returns the current state of a promise.
Functions
Resolve a module specifier in a similar way to import.meta.resolve.
Type Aliases
Options for resolve
- base: string | ImportMeta
Base URL (defaults to current working directory).
- entrypoint: string
Entrypoint (defaults to "mod.ts").