alloc / alloc/saus

Add process.server and process.client

Open
#85 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
38
Forks
1
PR merge metrics
No merged PRs in 30d

Description

```ts
if (process.server) {
// Do something on server-side only.
}

if (process.client) {
// Do something in web browser only.
}
```

(inspired by Nuxt)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.