[API reference](https://evolu.dev/docs/api-reference) › [@evolu/common](https://evolu.dev/docs/api-reference/common) › Platform

Platform runtime utilities and capability abstractions.

## Functions

| Function                                                                                                         | Description                                                           |
| ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------- |
| [testGlobalUncaughtErrors](https://evolu.dev/docs/api-reference/common/Platform/functions/testGlobalUncaughtErrors)           | Records platform global uncaught-error reporting until disposed.      |
| [testGlobalUnhandledRejections](https://evolu.dev/docs/api-reference/common/Platform/functions/testGlobalUnhandledRejections) | Records platform global unhandled-rejection reporting until disposed. |

## Interfaces

| Interface                                                                               | Description |
| --------------------------------------------------------------------------------------- | ----------- |
| [FlushSyncDep](https://evolu.dev/docs/api-reference/common/Platform/interfaces/FlushSyncDep)         | -           |
| [ReloadAppDep](https://evolu.dev/docs/api-reference/common/Platform/interfaces/ReloadAppDep)         | -           |
| [TestGlobalErrors](https://evolu.dev/docs/api-reference/common/Platform/interfaces/TestGlobalErrors) | -           |

## Type Aliases

| Type Alias                                                                  | Description                                                                                                                                 |
| --------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| [FlushSync](https://evolu.dev/docs/api-reference/common/Platform/type-aliases/FlushSync) | FlushSync is for libraries like React to flush updates synchronously inside the provided callback to ensure the DOM is updated immediately. |
| [ReloadApp](https://evolu.dev/docs/api-reference/common/Platform/type-aliases/ReloadApp) | Reload the app in a platform-specific way.                                                                                                  |

## Variables

| Variable                                                                         | Description                                                 |
| -------------------------------------------------------------------------------- | ----------------------------------------------------------- |
| [hasNodeBuffer](https://evolu.dev/docs/api-reference/common/Platform/variables/hasNodeBuffer) | Detects if Node.js Buffer is available and should be used.  |
| [isDev](https://evolu.dev/docs/api-reference/common/Platform/variables/isDev)                 | True outside production builds.                             |
| [isHermes](https://evolu.dev/docs/api-reference/common/Platform/variables/isHermes)           | Returns true if running in React Native with Hermes engine. |
| [isServer](https://evolu.dev/docs/api-reference/common/Platform/variables/isServer)           | Returns true if running in a server environment (no DOM).   |