> ## 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 editor-mode NanoForge client and server applications.

# NanoforgeFactory

## Summary

Singleton factory for creating editor-mode NanoForge client and server applications.

## Signature

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

## Remarks

Use `NanoforgeFactory.createClient` or `NanoforgeFactory.createServer` to obtain an application instance that accepts `IEditorRunOptions` on `init`.

## Examples

### Example 1

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