# tys.mode

> "test" or "live", from the key prefix.

Source: https://docs.tryyoursize.com/reference/node/mode/

*Property* · `@tryyoursize/node`

`"test"` or `"live"`, from the key prefix.

```ts
get mode(): "test" | "live" | undefined
```

## Example

**Node.js**

```ts
if (tys.mode === "live") enableOrderSync();
```

**Python**

```python
if tys.mode == "live":
    enable_order_sync()
```
