# stampObserved

Canonical: https://docs.shumoku.dev/en/library/api/stampObserved
Language: en

@shumoku/core · 0.4.0 · function

# stampObserved

[Source](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/stamp.ts#L98)

Return a copy of \`node\` stamped with observation provenance, identity, and sync metadata. Never mutates the input (callers build node lists with \`.map(stampObserved…)\`). Existing identity/metadata are preserved and only overlaid with the supplied values.

```
stampObserved(node: Node, options: StampObservedOptions): Node
```

## Parameters

| Parameter | Type | Description | Default |
| --- | --- | --- | --- |
| `node` | `Node` | No additional description. | `—` |
| `options` | `StampObservedOptions` | No additional description. | `—` |

## Returns

```
Node
```

[`libs/@shumoku/core/src/plugin-kit/stamp.ts:98`](https://github.com/konoe-akitoshi/shumoku/blob/main/libs/@shumoku/core/src/plugin-kit/stamp.ts#L98)
