Files
bun.sh/docs/api/globals.md
Kruithne e00017f7b8 Add missing JSON API to Web APIs page (#2799)
* Add missing JSON API to Web APIs page

Unless I'm missing something obvious, it appears that Bun has the JSON API (`stringify`/`parse`) but is not listed anywhere in the documentation.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON

* Include JSON in global docs
2023-05-05 12:54:54 -07: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 %}