> ## Documentation Index
> Fetch the complete documentation index at: https://docs.attio.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Available Globals

> Global variables available to your app's code

All JavaScript native globals are available
([`Object`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object),
[`Array`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array),
[`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise),
etc.). There are no built-in Node.js modules like
[`fs`](https://www.w3schools.com/nodejs/nodejs_filesystem.asp),
[`http`](https://www.w3schools.com/nodejs/nodejs_http.asp).
It's possible to import npm packages as long as they don't depend on Node.js Modules and missing
Web Globals.

## Shared Globals

The following globals are available on both the server and client side.

* [`console.log()`](https://developer.mozilla.org/en-US/docs/Web/API/console/log_static)
* [`console.info()`](https://developer.mozilla.org/en-US/docs/Web/API/console/info_static)
* [`console.warn()`](https://developer.mozilla.org/en-US/docs/Web/API/console/warn_static)
* [`console.error()`](https://developer.mozilla.org/en-US/docs/Web/API/console/error_static)
* [`TextEncoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder)
* [`TextDecoder`](https://developer.mozilla.org/en-US/docs/Web/API/TextDecoder)
* [`setTimeout()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/setTimeout)
* [`clearTimeout()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearTimeout)
* [`setInterval()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/setInterval)
* [`clearInterval()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/clearInterval)
* [`URL`](https://developer.mozilla.org/en-US/docs/Web/API/URL/URL)
* [`URLSearchParams`](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams)

## Client Only

The following globals are only available on the client (web) side.

* [`queueMicrotask()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/queueMicrotask)
* [`window.open()`](https://developer.mozilla.org/en-US/docs/Web/API/Window/open)

## Server Only

The following globals are only available on the server side.

* [`fetch()`](https://fetch.spec.whatwg.org/#fetch-api)
* [`Response`](https://fetch.spec.whatwg.org/#response-class)
* [`Request`](https://fetch.spec.whatwg.org/#request-class)
* [`Headers`](https://fetch.spec.whatwg.org/#headers-class)
