Add working directories to your OpenCode session with auto-approved permissions
Use the :dir pseudo-class in CSS
Resolve a URI relative to an optional base URI
Add MCP servers to your favorite coding agents with a single command.
Custom user data directory for puppeteer.
Make a directory and its parents if needed - Think `mkdir -p`
Generate a unique filename for use in temporary directories or caches.
Finds the root of a pnpm workspace
asynchronous file and directory operations for Node.js
Get the real path of the system temp directory
Directory operations for opencode sessions
Offers a async require.resolve function. It's highly configurable.
Convert directories to glob compatible strings
A lightweight Node.js module to recursively read files in a directory using ES6 Promises
Node.js path.parse() ponyfill
Resolve a directory that is either local, global or in the user's home directory.
Node JS directory compare
Returns true if the current process has permission to write to the specified directory
> Find the root of a monorepo with Yarn workspaces, npm, Lerna, pnpm, Bun or Rush
Finds the first parent directory that contains a given file or directory.
Hard link (or copy if linking fails) all files from a directory to several target directories.
Automatically trace OpenCode conversations to Braintrust. Captures user messages, assistant responses, and tool calls for observability.
A simple directory tree walker.
Info about node `exports` field support: version ranges, categories, etc.