Files
bun.sh/docs/api/globals.md
2025-07-10 00:10:43 -07:00

6.8 KiB

Bun implements the following globals.

{% table %}

  • Global
  • Source
  • Notes



  • alert
  • Web
  • Intended for command-line tools



  • Bun
  • Bun
  • Subject to change as additional APIs are added


  • confirm
  • Web
  • Intended for command-line tools





  • BuildMessage
  • Bun
  •  
























  • prompt
  • Web
  • Intended for command-line tools








  • ResolveMessage
  • Bun
  •  


















{% /table %}