# createEngine

Canonical: https://docs.shumoku.dev/ja/library/api/createEngine
Language: ja

@shumoku/core · 0.4.0 · function

# createEngine

[ソース](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/engine/index.ts#L45)

APIの説明は英語のcanonical sourceを表示しています。

Build an engine instance. Stateless across queries (every call returns the same answer for the same input given the same config). Memoization is allowed inside; the \`fingerprint\` is the cache key.

```
createEngine(config?: EngineConfig): LayoutEngine
```

## パラメーター

| 名前 | 型 | 説明 | 既定値 |
| --- | --- | --- | --- |
| `config` | `EngineConfig` | 追加説明はありません。 | `{}` |

## 戻り値

```
LayoutEngine
```

[`libs/@shumoku/core/src/layout/engine/index.ts:45`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/layout/engine/index.ts#L45)
