Files
bun.sh/docs/api/globals.md
Colin McDonnell 011e157cac Docs restructuring (#2638)
* Restructure

* Update nav

* Reorg

* Reshuffle ecosystem pages

* Split up runtime/runtime

* Back to runtime/index

* Fix issue

* Split up runtime/index

* Add Writing Tests page

* Prettier matcher table

* More updates
2023-04-13 18:26:45 -07:00

6.6 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 %}