Namespace "bun"

Bun.js runtime APIs

Example

import {file} from 'bun';

// Log the file to the console
const input = await file('/path/to/file.txt').text();
console.log(input);

This module aliases globalThis.Bun.

Index

Classes

Interfaces

Type Aliases

Variables

Functions

Generated using TypeDoc