ComfyUI Node
Set LocalStorage
Set a key/value pair in the browser's localStorage via the frontend. Works like Set Environment Variable but persists in the user's browser storage. Note: Values are strings in localStorage.
Set LocalStorage
- any_input
- any_output
- applied
- prev_value
◄name►
◄value►
◄overwritetrue►
Categoryovum
Inputs (4)
| Name | Type | Default | Description |
|---|---|---|---|
| name | STRING | localStorage key name. | |
| value | STRING | String value to store. | |
| overwrite | BOOLEAN | true | If false, keep an existing value and do not change it. |
| any_inputopt | * | Optional passthrough input to enforce execution order; forwarded unchanged. |
Outputs (3)
| Name | Type | Description |
|---|---|---|
| any_output | * | — |
| applied | BOOLEAN | — |
| prev_value | STRING | — |