Files
bun.sh/docs/api/globals.md
Colin McDonnell f54300578b Add documentation (#2148)
* Add documentation

* Tweaks

* Fixes

* Rearrange

* Update
2023-02-23 17:13:30 -08:00

6.7 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





  • BuildError
  • Bun
  •  























  • prompt
  • Web
  • Intended for command-line tools








  • ResolveError
  • Bun
  •  


















{% /table %}