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

# NanoforgeFactory variable

> Singleton factory for creating NanoForge client and server applications.

import { PageLink } from '/snippets/tsdocs/PageLink.jsx';
import { RefLink } from '/snippets/tsdocs/RefLink.jsx';

# NanoforgeFactory

## Summary

Singleton factory for creating NanoForge client and server applications.

## Signature

```typescript theme={null}
NanoforgeFactory: NanoforgeFactoryStatic
```

## Remarks

Use `NanoforgeFactory.createClient` or `NanoforgeFactory.createServer` to obtain a new application instance, then attach libraries and call `init` / `run`.

## Examples

### Example 1

```typescript theme={null}
```
