[Home](./index.md) > [@apextoaster/js-utils](./js-utils.md) > [writeInput](./js-utils.writeinput.md)
## writeInput() function
Signature:
```typescript
export declare function writeInput(stream: Writable, value: string): Promise;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| stream | Writable | |
| value | string | |
Returns:
Promise<boolean>